#124389
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #124389 | |
| RGB | rgb(18 67 137) | |
| HSL | hsl(215.29 76.77% 30.39%) | |
| OKLCH | oklch(0.39 0.13 258.4) | |
| CMYK | cmyk(86.86% 51.09% 0% 46.27%) | |
| Android | #ff124389 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.58:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.18:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#124389"
Gradient stop
<stop stop-color="#124389"/>
CSS variable + fill
:root { --c: #124389; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #124389; background-color: #124389; bg-[#124389]