#12223F#12223F
#12223F is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.5% C 0.059 H 261.4°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).
Color values
| HEX | #12223F |
|---|---|
| RGB | rgb(18, 34, 63) |
| HSL | hsl(219, 56%, 16%) |
| HSV | hsv(219, 71%, 25%) |
| CMYK | cmyk(71.4%, 46%, 0%, 75.3%) |
| CIE-LAB | lab(13.42, 4.42, -20.54) |
| CIE-LCH | lch(13.42, 21.01, 282.14°) |
| OKLab | oklab(25.5% -0.0089 -0.0584) |
| OKLCH | oklch(25.5% 0.059 261.4) |
| XYZ | xyz(1.7184, 1.6314, 4.9260) |
| Luminance | 0.0163 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.70
Navy (survey)
#01153E
ΔE00 5.39
Marine
#042E60
ΔE00 6.84
Dark
#1B2431
ΔE00 7.19
Navy Blue (survey)
#001146
ΔE00 7.71
Dark Navy Blue
#00022E
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12223F #3F2F12
analogous
#12383F #12223F #18123F
triadic
#12223F #3F1222 #223F12
tetradic
#12223F #3F1238 #3F2F12 #123F18
square
#12223F #3F1238 #3F2F12 #123F18
split-complementary
#12223F #3F1812 #383F12
monochromatic
#070D18 #070D18 #12223F #203C6F #2D559E
Accessibility & contrast
On white
15.83
#12223F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#12223F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12223F
15.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12223F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12223F | 1.00 | 15.83 | 1.33 | 15.83 |
| #FFFFFF | 15.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#152540
Deuteranopia (green-blind)
#0F203E
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #12223f; /* rgb */ color: rgb(18, 34, 63); /* oklch */ color: oklch(25.5% 0.059 261.4);
Tailwind
colors: {
custom: {
50: '#555c74',
500: '#12223f',
950: '#000000',
},
}SCSS
$custom: #12223f; $custom-light: #555c74; $custom-dark: #000000;
JSON
{
"hex": "#12223f",
"rgb": {
"r": 18,
"g": 34,
"b": 63
},
"hsl": {
"h": 218.667,
"s": 55.556,
"l": 15.882
},
"oklch": {
"l": 0.255,
"c": 0.05911,
"h": 261.4
},
"luminance": 0.01632
}Semantic roles & 50–950 ramp
primary
#12223F
secondary
#786035
accent
#AA49DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B