#162E76#162E76
#162E76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.127 H 265.7°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).
Color values
| HEX | #162E76 |
|---|---|
| RGB | rgb(22, 46, 118) |
| HSL | hsl(225, 69%, 27%) |
| HSV | hsv(225, 81%, 46%) |
| CMYK | cmyk(81.4%, 61%, 0%, 53.7%) |
| CIE-LAB | lab(21.70, 19.42, -43.86) |
| CIE-LCH | lch(21.70, 47.97, 293.88°) |
| OKLab | oklab(33.22% -0.0096 -0.1267) |
| OKLCH | oklch(33.22% 0.127 265.7) |
| XYZ | xyz(4.5767, 3.4320, 17.5573) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.69
Marine Blue
#01386A
ΔE00 6.20
Midnight Blue
#191970
ΔE00 6.80
Darkish Blue
#014182
ΔE00 7.45
Navy Blue
#1B2A4A
ΔE00 8.11
Sapphire (survey)
#2138AB
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162E76 #765E16
analogous
#165E76 #162E76 #2E1676
triadic
#162E76 #76162E #2E7616
tetradic
#162E76 #76165E #765E16 #16762E
square
#162E76 #76165E #765E16 #16762E
split-complementary
#162E76 #762E16 #5E7616
monochromatic
#050A1A #0C1A42 #162E76 #2042AA #2E59D8
Accessibility & contrast
On white
12.45
#162E76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#162E76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162E76
12.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162E76 | 1.00 | 12.45 | 1.69 | 12.45 |
| #FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #162e76; /* rgb */ color: rgb(22, 46, 118); /* oklch */ color: oklch(33.2% 0.127 265.7);
Tailwind
colors: {
custom: {
50: '#64669e',
500: '#162e76',
950: '#000000',
},
}SCSS
$custom: #162e76; $custom-light: #64669e; $custom-dark: #000000;
JSON
{
"hex": "#162e76",
"rgb": {
"r": 22,
"g": 46,
"b": 118
},
"hsl": {
"h": 225,
"s": 68.571,
"l": 27.451
},
"oklch": {
"l": 0.33219,
"c": 0.12707,
"h": 265.7
},
"luminance": 0.03433
}Semantic roles & 50–950 ramp
primary
#162E76
secondary
#AC903C
accent
#C03CEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E