#162E9E#162E9E
#162E9E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.181 H 266.6°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #162E9E |
|---|---|
| RGB | rgb(22, 46, 158) |
| HSL | hsl(229, 76%, 35%) |
| HSV | hsv(229, 86%, 62%) |
| CMYK | cmyk(86.1%, 70.9%, 0%, 38%) |
| CIE-LAB | lab(25.54, 35.19, -62.50) |
| CIE-LCH | lch(25.54, 71.72, 299.38°) |
| OKLab | oklab(37.22% -0.0108 -0.1812) |
| OKLCH | oklch(37.22% 0.182 266.6) |
| XYZ | xyz(7.4773, 4.5923, 32.8334) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.21
Royal
#0C1793
ΔE00 5.71
Indigo Blue
#3A18B1
ΔE00 6.79
Cobalt Blue
#030AA7
ΔE00 7.17
Blueberry
#464196
ΔE00 7.26
Blue Blue
#2242C7
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162E9E #9E8616
analogous
#16729E #162E9E #42169E
triadic
#162E9E #9E162E #2E9E16
tetradic
#162E9E #9E1672 #9E8616 #169E42
square
#162E9E #9E1672 #9E8616 #169E42
split-complementary
#162E9E #9E4216 #729E16
monochromatic
#070F33 #0F1E68 #162E9E #1D3ED4 #4964E6
Accessibility & contrast
On white
10.95
#162E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#162E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162E9E
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162E9E | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #162e9e; /* rgb */ color: rgb(22, 46, 158); /* oklch */ color: oklch(37.2% 0.181 266.6);
Tailwind
colors: {
custom: {
50: '#7067bc',
500: '#162e9e',
950: '#000000',
},
}SCSS
$custom: #162e9e; $custom-light: #7067bc; $custom-dark: #000000;
JSON
{
"hex": "#162e9e",
"rgb": {
"r": 22,
"g": 46,
"b": 158
},
"hsl": {
"h": 229.412,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.37218,
"c": 0.1815,
"h": 266.6
},
"luminance": 0.04593
}Semantic roles & 50–950 ramp
primary
#162E9E
secondary
#C7B149
accent
#D136F2
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81