#162E8F#162E8F
#162E8F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.162 H 266.5°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #162E8F |
|---|---|
| RGB | rgb(22, 46, 143) |
| HSL | hsl(228, 73%, 32%) |
| HSV | hsv(228, 85%, 56%) |
| CMYK | cmyk(84.6%, 67.8%, 0%, 43.9%) |
| CIE-LAB | lab(24.02, 29.46, -55.78) |
| CIE-LCH | lch(24.02, 63.08, 297.84°) |
| OKLab | oklab(35.66% -0.0098 -0.1616) |
| OKLCH | oklch(35.66% 0.162 266.5) |
| XYZ | xyz(6.2641, 4.1070, 26.4439) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.69
Royal
#0C1793
ΔE00 6.08
Midnight Blue
#191970
ΔE00 6.99
Blueberry
#464196
ΔE00 7.32
Darkslateblue
#483D8B
ΔE00 7.53
Cobalt Blue
#030AA7
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162E8F #8F7716
analogous
#166B8F #162E8F #3A168F
triadic
#162E8F #8F162E #2E8F16
tetradic
#162E8F #8F166B #8F7716 #168F3A
square
#162E8F #8F166B #8F7716 #168F3A
split-complementary
#162E8F #8F3A16 #6B8F16
monochromatic
#060C25 #0E1D5A #162E8F #1E3FC4 #3E5EE1
Accessibility & contrast
On white
11.53
#162E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#162E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162E8F
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162E8F | 1.00 | 11.53 | 1.82 | 11.53 |
| #FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #162e8f; /* rgb */ color: rgb(22, 46, 143); /* oklch */ color: oklch(35.7% 0.162 266.5);
Tailwind
colors: {
custom: {
50: '#6b66b1',
500: '#162e8f',
950: '#000000',
},
}SCSS
$custom: #162e8f; $custom-light: #6b66b1; $custom-dark: #000000;
JSON
{
"hex": "#162e8f",
"rgb": {
"r": 22,
"g": 46,
"b": 143
},
"hsl": {
"h": 228.099,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.35655,
"c": 0.1619,
"h": 266.5
},
"luminance": 0.04108
}Semantic roles & 50–950 ramp
primary
#162E8F
secondary
#C1A83F
accent
#CB38F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80