#12213E#12213E
#12213E is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.2% C 0.059 H 262.3°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).
Color values
| HEX | #12213E |
|---|---|
| RGB | rgb(18, 33, 62) |
| HSL | hsl(220, 55%, 16%) |
| HSV | hsv(220, 71%, 24%) |
| CMYK | cmyk(71%, 46.8%, 0%, 75.7%) |
| CIE-LAB | lab(13.01, 4.75, -20.49) |
| CIE-LCH | lch(13.01, 21.04, 283.05°) |
| OKLab | oklab(25.16% -0.0078 -0.0583) |
| OKLCH | oklch(25.16% 0.059 262.3) |
| XYZ | xyz(1.6625, 1.5640, 4.7708) |
| Luminance | 0.0156 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.96
Navy (survey)
#01153E
ΔE00 5.14
Marine
#042E60
ΔE00 7.18
Dark
#1B2431
ΔE00 7.34
Navy Blue (survey)
#001146
ΔE00 7.55
Dark Navy Blue
#00022E
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12213E #3E2F12
analogous
#12373E #12213E #19123E
triadic
#12213E #3E1221 #213E12
tetradic
#12213E #3E1237 #3E2F12 #123E19
square
#12213E #3E1237 #3E2F12 #123E19
split-complementary
#12213E #3E1912 #373E12
monochromatic
#070D18 #070D18 #12213E #203A6D #2E539D
Accessibility & contrast
On white
16.00
#12213E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#12213E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12213E
16.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12213E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12213E | 1.00 | 16.00 | 1.31 | 16.00 |
| #FFFFFF | 16.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#14243F
Deuteranopia (green-blind)
#0E203D
Tritanopia (blue-blind)
#00282C
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #12213e; /* rgb */ color: rgb(18, 33, 62); /* oklch */ color: oklch(25.2% 0.059 262.3);
Tailwind
colors: {
custom: {
50: '#555b73',
500: '#12213e',
950: '#000000',
},
}SCSS
$custom: #12213e; $custom-light: #555b73; $custom-dark: #000000;
JSON
{
"hex": "#12213e",
"rgb": {
"r": 18,
"g": 33,
"b": 62
},
"hsl": {
"h": 219.545,
"s": 55,
"l": 15.686
},
"oklch": {
"l": 0.2516,
"c": 0.05885,
"h": 262.3
},
"luminance": 0.01564
}Semantic roles & 50–950 ramp
primary
#12213E
secondary
#776035
accent
#AC49DE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B