#124166
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 | #124166 | |
| RGB | rgb(18 65 102) | |
| HSL | hsl(206.43 70% 23.53%) | |
| OKLCH | oklch(0.36 0.08 246.63) | |
| CMYK | cmyk(82.35% 36.27% 0% 60%) | |
| Android | #ff124166 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.97: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="#124166"
Gradient stop
<stop stop-color="#124166"/>
CSS variable + fill
:root { --c: #124166; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #124166; background-color: #124166; bg-[#124166]