#12223B#12223B
#12223B is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.2% C 0.052 H 259.0°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).
Color values
| HEX | #12223B |
|---|---|
| RGB | rgb(18, 34, 59) |
| HSL | hsl(217, 53%, 15%) |
| HSV | hsv(217, 69%, 23%) |
| CMYK | cmyk(69.5%, 42.4%, 0%, 76.9%) |
| CIE-LAB | lab(13.16, 2.74, -18.14) |
| CIE-LCH | lch(13.16, 18.35, 278.59°) |
| OKLab | oklab(25.21% -0.01 -0.0514) |
| OKLCH | oklch(25.21% 0.052 259) |
| XYZ | xyz(1.6106, 1.5883, 4.3585) |
| Luminance | 0.0159 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.62
Dark
#1B2431
ΔE00 5.59
Navy (survey)
#01153E
ΔE00 6.50
Marine
#042E60
ΔE00 7.51
Navy Blue (survey)
#001146
ΔE00 8.59
Dark Navy Blue
#00022E
ΔE00 9.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12223B #3B2B12
analogous
#12373B #12223B #16123B
triadic
#12223B #3B1222 #223B12
tetradic
#12223B #3B1237 #3B2B12 #123B16
square
#12223B #3B1237 #3B2B12 #123B16
split-complementary
#12223B #3B1612 #373B12
monochromatic
#070E17 #070E17 #12223B #203D6A #2F5899
Accessibility & contrast
On white
15.94
#12223B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#12223B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12223B
15.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12223B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12223B | 1.00 | 15.94 | 1.32 | 15.94 |
| #FFFFFF | 15.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#17243C
Deuteranopia (green-blind)
#12203A
Tritanopia (blue-blind)
#00282B
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #12223b; /* rgb */ color: rgb(18, 34, 59); /* oklch */ color: oklch(25.2% 0.052 259.0);
Tailwind
colors: {
custom: {
50: '#545c71',
500: '#12223b',
950: '#000000',
},
}SCSS
$custom: #12223b; $custom-light: #545c71; $custom-dark: #000000;
JSON
{
"hex": "#12223b",
"rgb": {
"r": 18,
"g": 34,
"b": 59
},
"hsl": {
"h": 216.585,
"s": 53.247,
"l": 15.098
},
"oklch": {
"l": 0.25212,
"c": 0.05238,
"h": 259
},
"luminance": 0.01588
}Semantic roles & 50–950 ramp
primary
#12223B
secondary
#745B35
accent
#A44BDD
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A