#162B8E#162B8E
#162B8E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.164 H 267.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #162B8E |
|---|---|
| RGB | rgb(22, 43, 142) |
| HSL | hsl(230, 73%, 32%) |
| HSV | hsv(230, 85%, 56%) |
| CMYK | cmyk(84.5%, 69.7%, 0%, 44.3%) |
| CIE-LAB | lab(23.17, 31.08, -56.56) |
| CIE-LCH | lch(23.17, 64.53, 298.79°) |
| OKLab | oklab(35% -0.0084 -0.1639) |
| OKLCH | oklch(35% 0.164 267.1) |
| XYZ | xyz(6.0755, 3.8506, 26.0090) |
| Luminance | 0.0385 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.20
Sapphire (survey)
#2138AB
ΔE00 5.22
Midnight Blue
#191970
ΔE00 6.24
Cobalt Blue
#030AA7
ΔE00 7.55
Blueberry
#464196
ΔE00 7.81
Darkslateblue
#483D8B
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162B8E #8E7916
analogous
#16678E #162B8E #3D168E
triadic
#162B8E #8E162B #2B8E16
tetradic
#162B8E #8E1667 #8E7916 #168E3D
square
#162B8E #8E1667 #8E7916 #168E3D
split-complementary
#162B8E #8E3D16 #678E16
monochromatic
#060B24 #0E1B59 #162B8E #1E3BC3 #3D5AE1
Accessibility & contrast
On white
11.86
#162B8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#162B8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162B8E
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162B8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162B8E | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #162b8e; /* rgb */ color: rgb(22, 43, 142); /* oklch */ color: oklch(35.0% 0.164 267.1);
Tailwind
colors: {
custom: {
50: '#6b64b0',
500: '#162b8e',
950: '#000000',
},
}SCSS
$custom: #162b8e; $custom-light: #6b64b0; $custom-dark: #000000;
JSON
{
"hex": "#162b8e",
"rgb": {
"r": 22,
"g": 43,
"b": 142
},
"hsl": {
"h": 229.5,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.35003,
"c": 0.1641,
"h": 267.1
},
"luminance": 0.03851
}Semantic roles & 50–950 ramp
primary
#162B8E
secondary
#C1AA3F
accent
#D038F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80