#18213C#18213C
#18213C is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.4% C 0.053 H 268.6°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).
Color values
| HEX | #18213C |
|---|---|
| RGB | rgb(24, 33, 60) |
| HSL | hsl(225, 43%, 16%) |
| HSV | hsv(225, 60%, 24%) |
| CMYK | cmyk(60%, 45%, 0%, 76.5%) |
| CIE-LAB | lab(13.28, 5.47, -18.63) |
| CIE-LCH | lch(13.28, 19.42, 286.37°) |
| OKLab | oklab(25.43% -0.0013 -0.0527) |
| OKLCH | oklch(25.43% 0.053 268.6) |
| XYZ | xyz(1.7359, 1.6080, 4.4930) |
| Luminance | 0.0161 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.53
Navy (survey)
#01153E
ΔE00 5.84
Dark
#1B2431
ΔE00 7.31
Dark Navy Blue
#00022E
ΔE00 8.17
Navy Blue (survey)
#001146
ΔE00 8.28
Midnight
#03012D
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18213C #3C3318
analogous
#18333C #18213C #21183C
triadic
#18213C #3C1821 #213C18
tetradic
#18213C #3C1833 #3C3318 #183C21
square
#18213C #3C1833 #3C3318 #183C21
split-complementary
#18213C #3C2118 #333C18
monochromatic
#090C16 #090C16 #18213C #293968 #3B5193
Accessibility & contrast
On white
15.89
#18213C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#18213C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18213C
15.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18213C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18213C | 1.00 | 15.89 | 1.32 | 15.89 |
| #FFFFFF | 15.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#16243D
Deuteranopia (green-blind)
#12213B
Tritanopia (blue-blind)
#07272B
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #18213c; /* rgb */ color: rgb(24, 33, 60); /* oklch */ color: oklch(25.4% 0.053 268.6);
Tailwind
colors: {
custom: {
50: '#585b72',
500: '#18213c',
950: '#000000',
},
}SCSS
$custom: #18213c; $custom-light: #585b72; $custom-dark: #000000;
JSON
{
"hex": "#18213c",
"rgb": {
"r": 24,
"g": 33,
"b": 60
},
"hsl": {
"h": 225,
"s": 42.857,
"l": 16.471
},
"oklch": {
"l": 0.25433,
"c": 0.05275,
"h": 268.6
},
"luminance": 0.01608
}Semantic roles & 50–950 ramp
primary
#18213C
secondary
#72653E
accent
#B355D3
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030408
muted
#78797B