#162C8E#162C8E
#162C8E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.163 H 266.9°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #162C8E |
|---|---|
| RGB | rgb(22, 44, 142) |
| HSL | hsl(229, 73%, 32%) |
| HSV | hsv(229, 85%, 56%) |
| CMYK | cmyk(84.5%, 69%, 0%, 44.3%) |
| CIE-LAB | lab(23.42, 30.41, -56.15) |
| CIE-LCH | lch(23.42, 63.86, 298.44°) |
| OKLab | oklab(35.18% -0.0088 -0.1627) |
| OKLCH | oklch(35.18% 0.163 266.9) |
| XYZ | xyz(6.1123, 3.9242, 26.0212) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.07
Royal
#0C1793
ΔE00 5.51
Midnight Blue
#191970
ΔE00 6.46
Blueberry
#464196
ΔE00 7.65
Darkslateblue
#483D8B
ΔE00 7.72
Cobalt Blue
#030AA7
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162C8E #8E7816
analogous
#16688E #162C8E #3C168E
triadic
#162C8E #8E162C #2C8E16
tetradic
#162C8E #8E1668 #8E7816 #168E3C
square
#162C8E #8E1668 #8E7816 #168E3C
split-complementary
#162C8E #8E3C16 #688E16
monochromatic
#060B24 #0E1C59 #162C8E #1E3CC3 #3D5BE1
Accessibility & contrast
On white
11.76
#162C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#162C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162C8E
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162C8E | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #162c8e; /* rgb */ color: rgb(22, 44, 142); /* oklch */ color: oklch(35.2% 0.163 266.9);
Tailwind
colors: {
custom: {
50: '#6b65b0',
500: '#162c8e',
950: '#000000',
},
}SCSS
$custom: #162c8e; $custom-light: #6b65b0; $custom-dark: #000000;
JSON
{
"hex": "#162c8e",
"rgb": {
"r": 22,
"g": 44,
"b": 142
},
"hsl": {
"h": 229,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.35184,
"c": 0.16293,
"h": 266.9
},
"luminance": 0.03925
}Semantic roles & 50–950 ramp
primary
#162C8E
secondary
#C1A93F
accent
#CE38F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80