#162D9E#162D9E
#162D9E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.183 H 266.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #162D9E |
|---|---|
| RGB | rgb(22, 45, 158) |
| HSL | hsl(230, 76%, 35%) |
| HSV | hsv(230, 86%, 62%) |
| CMYK | cmyk(86.1%, 71.5%, 0%, 38%) |
| CIE-LAB | lab(25.31, 35.83, -62.88) |
| CIE-LCH | lch(25.31, 72.37, 299.68°) |
| OKLab | oklab(37.05% -0.0104 -0.1823) |
| OKLCH | oklch(37.05% 0.183 266.7) |
| XYZ | xyz(7.4387, 4.5150, 32.8206) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.43
Royal
#0C1793
ΔE00 5.43
Indigo Blue
#3A18B1
ΔE00 6.57
Cobalt Blue
#030AA7
ΔE00 6.89
Blueberry
#464196
ΔE00 7.43
Royal Blue (survey)
#0504AA
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162D9E #9E8716
analogous
#16719E #162D9E #43169E
triadic
#162D9E #9E162D #2D9E16
tetradic
#162D9E #9E1671 #9E8716 #169E43
square
#162D9E #9E1671 #9E8716 #169E43
split-complementary
#162D9E #9E4316 #719E16
monochromatic
#070E33 #0F1E68 #162D9E #1D3CD4 #4963E6
Accessibility & contrast
On white
11.03
#162D9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#162D9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162D9E
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162D9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162D9E | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #162d9e; /* rgb */ color: rgb(22, 45, 158); /* oklch */ color: oklch(37.0% 0.183 266.7);
Tailwind
colors: {
custom: {
50: '#7066bc',
500: '#162d9e',
950: '#000000',
},
}SCSS
$custom: #162d9e; $custom-light: #7066bc; $custom-dark: #000000;
JSON
{
"hex": "#162d9e",
"rgb": {
"r": 22,
"g": 45,
"b": 158
},
"hsl": {
"h": 229.853,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.37049,
"c": 0.1826,
"h": 266.7
},
"luminance": 0.04516
}Semantic roles & 50–950 ramp
primary
#162D9E
secondary
#C7B249
accent
#D236F2
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81