#12223E#12223E
#12223E is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.4% C 0.057 H 260.9°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).
Color values
| HEX | #12223E |
|---|---|
| RGB | rgb(18, 34, 62) |
| HSL | hsl(218, 55%, 16%) |
| HSV | hsv(218, 71%, 24%) |
| CMYK | cmyk(71%, 45.2%, 0%, 75.7%) |
| CIE-LAB | lab(13.35, 4.00, -19.95) |
| CIE-LCH | lch(13.35, 20.34, 281.33°) |
| OKLab | oklab(25.43% -0.0091 -0.0567) |
| OKLCH | oklch(25.43% 0.057 260.9) |
| XYZ | xyz(1.6907, 1.6203, 4.7801) |
| Luminance | 0.0162 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.86
Navy (survey)
#01153E
ΔE00 5.64
Dark
#1B2431
ΔE00 6.81
Marine
#042E60
ΔE00 6.99
Navy Blue (survey)
#001146
ΔE00 7.93
Dark Navy Blue
#00022E
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12223E #3E2E12
analogous
#12383E #12223E #18123E
triadic
#12223E #3E1222 #223E12
tetradic
#12223E #3E1238 #3E2E12 #123E18
square
#12223E #3E1238 #3E2E12 #123E18
split-complementary
#12223E #3E1812 #383E12
monochromatic
#070D18 #070D18 #12223E #203C6D #2E569D
Accessibility & contrast
On white
15.86
#12223E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#12223E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12223E
15.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12223E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12223E | 1.00 | 15.86 | 1.32 | 15.86 |
| #FFFFFF | 15.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#16243F
Deuteranopia (green-blind)
#10203D
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #12223e; /* rgb */ color: rgb(18, 34, 62); /* oklch */ color: oklch(25.4% 0.057 260.9);
Tailwind
colors: {
custom: {
50: '#555c73',
500: '#12223e',
950: '#000000',
},
}SCSS
$custom: #12223e; $custom-light: #555c73; $custom-dark: #000000;
JSON
{
"hex": "#12223e",
"rgb": {
"r": 18,
"g": 34,
"b": 62
},
"hsl": {
"h": 218.182,
"s": 55,
"l": 15.686
},
"oklch": {
"l": 0.25427,
"c": 0.05743,
"h": 260.9
},
"luminance": 0.0162
}Semantic roles & 50–950 ramp
primary
#12223E
secondary
#775F35
accent
#A849DE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B