#18166F#18166F
#18166F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.146 H 272.9°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).
Color values
| HEX | #18166F |
|---|---|
| RGB | rgb(24, 22, 111) |
| HSL | hsl(241, 67%, 26%) |
| HSV | hsv(241, 80%, 44%) |
| CMYK | cmyk(78.4%, 80.2%, 0%, 56.5%) |
| CIE-LAB | lab(15.04, 33.07, -50.28) |
| CIE-LCH | lch(15.04, 60.19, 303.33°) |
| OKLab | oklab(28.18% 0.0073 -0.1455) |
| OKLCH | oklch(28.18% 0.146 272.9) |
| XYZ | xyz(3.5319, 1.9153, 15.2194) |
| Luminance | 0.0192 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.76
Dark Royal Blue
#02066F
ΔE00 3.44
Darkblue (survey)
#030764
ΔE00 3.59
Deep Blue
#040273
ΔE00 4.14
Navy
#000080
ΔE00 4.98
Dark Blue
#00035B
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18166F #6D6F16
analogous
#16406F #18166F #44166F
triadic
#18166F #6F1816 #166F18
tetradic
#18166F #6F1640 #6D6F16 #166F44
square
#18166F #6F1640 #6D6F16 #166F44
split-complementary
#18166F #6F4416 #406F16
monochromatic
#06051A #0D0C3C #18166F #2320A2 #2E2BD5
Accessibility & contrast
On white
15.18
#18166F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#18166F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18166F
15.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18166F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18166F | 1.00 | 15.18 | 1.38 | 15.18 |
| #FFFFFF | 15.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #18166f; /* rgb */ color: rgb(24, 22, 111); /* oklch */ color: oklch(28.2% 0.146 272.9);
Tailwind
colors: {
custom: {
50: '#665599',
500: '#18166f',
950: '#000000',
},
}SCSS
$custom: #18166f; $custom-light: #665599; $custom-dark: #000000;
JSON
{
"hex": "#18166f",
"rgb": {
"r": 24,
"g": 22,
"b": 111
},
"hsl": {
"h": 241.348,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.28179,
"c": 0.14569,
"h": 272.9
},
"luminance": 0.01916
}Semantic roles & 50–950 ramp
primary
#18166F
secondary
#A3A53C
accent
#EA3EE6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E