#162F58#162F58
#162F58 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.080 H 259.8°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).
Color values
| HEX | #162F58 |
|---|---|
| RGB | rgb(22, 47, 88) |
| HSL | hsl(217, 60%, 22%) |
| HSV | hsv(217, 75%, 35%) |
| CMYK | cmyk(75%, 46.6%, 0%, 65.5%) |
| CIE-LAB | lab(19.67, 6.14, -27.60) |
| CIE-LCH | lch(19.67, 28.27, 282.54°) |
| OKLab | oklab(30.94% -0.0142 -0.0789) |
| OKLCH | oklch(30.94% 0.08 259.8) |
| XYZ | xyz(3.1082, 2.9079, 9.6281) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.22
Navy Blue
#1B2A4A
ΔE00 3.31
Marine Blue
#01386A
ΔE00 4.69
Twilight Blue
#0A437A
ΔE00 7.96
Darkish Blue
#014182
ΔE00 8.01
Navy (survey)
#01153E
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162F58 #583F16
analogous
#165058 #162F58 #1E1658
triadic
#162F58 #58162F #2F5816
tetradic
#162F58 #581650 #583F16 #16581E
square
#162F58 #581650 #583F16 #16581E
split-complementary
#162F58 #581E16 #505816
monochromatic
#060D18 #0A1527 #162F58 #224989 #2E63BA
Accessibility & contrast
On white
13.28
#162F58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#162F58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162F58
13.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162F58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162F58 | 1.00 | 13.28 | 1.58 | 13.28 |
| #FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B335A
Deuteranopia (green-blind)
#102D57
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #162f58; /* rgb */ color: rgb(22, 47, 88); /* oklch */ color: oklch(30.9% 0.080 259.8);
Tailwind
colors: {
custom: {
50: '#5c6787',
500: '#162f58',
950: '#000000',
},
}SCSS
$custom: #162f58; $custom-light: #5c6787; $custom-dark: #000000;
JSON
{
"hex": "#162f58",
"rgb": {
"r": 22,
"g": 47,
"b": 88
},
"hsl": {
"h": 217.273,
"s": 60,
"l": 21.569
},
"oklch": {
"l": 0.30938,
"c": 0.08014,
"h": 259.8
},
"luminance": 0.02908
}Semantic roles & 50–950 ramp
primary
#162F58
secondary
#8F6F3B
accent
#A745E3
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C