#162E8E#162E8E
#162E8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.161 H 266.5°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #162E8E |
|---|---|
| RGB | rgb(22, 46, 142) |
| HSL | hsl(228, 73%, 32%) |
| HSV | hsv(228, 85%, 56%) |
| CMYK | cmyk(84.5%, 67.6%, 0%, 44.3%) |
| CIE-LAB | lab(23.92, 29.07, -55.32) |
| CIE-LCH | lch(23.92, 62.49, 297.72°) |
| OKLab | oklab(35.55% -0.0098 -0.1603) |
| OKLCH | oklch(35.55% 0.161 266.5) |
| XYZ | xyz(6.1886, 4.0768, 26.0467) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.82
Royal
#0C1793
ΔE00 6.14
Midnight Blue
#191970
ΔE00 6.93
Blueberry
#464196
ΔE00 7.35
Darkslateblue
#483D8B
ΔE00 7.53
Marine
#042E60
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162E8E #8E7616
analogous
#166A8E #162E8E #3A168E
triadic
#162E8E #8E162E #2E8E16
tetradic
#162E8E #8E166A #8E7616 #168E3A
square
#162E8E #8E166A #8E7616 #168E3A
split-complementary
#162E8E #8E3A16 #6A8E16
monochromatic
#060C24 #0E1D59 #162E8E #1E3FC3 #3D5EE1
Accessibility & contrast
On white
11.57
#162E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#162E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162E8E
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162E8E | 1.00 | 11.57 | 1.82 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #162e8e; /* rgb */ color: rgb(22, 46, 142); /* oklch */ color: oklch(35.6% 0.161 266.5);
Tailwind
colors: {
custom: {
50: '#6b66b0',
500: '#162e8e',
950: '#000000',
},
}SCSS
$custom: #162e8e; $custom-light: #6b66b0; $custom-dark: #000000;
JSON
{
"hex": "#162e8e",
"rgb": {
"r": 22,
"g": 46,
"b": 142
},
"hsl": {
"h": 228,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.35553,
"c": 0.16056,
"h": 266.5
},
"luminance": 0.04078
}Semantic roles & 50–950 ramp
primary
#162E8E
secondary
#C1A73F
accent
#CB38F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80