#162F5A#162F5A
#162F5A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.083 H 260.5°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #162F5A |
|---|---|
| RGB | rgb(22, 47, 90) |
| HSL | hsl(218, 61%, 22%) |
| HSV | hsv(218, 76%, 35%) |
| CMYK | cmyk(75.6%, 47.8%, 0%, 64.7%) |
| CIE-LAB | lab(19.81, 6.97, -28.71) |
| CIE-LCH | lch(19.81, 29.54, 283.65°) |
| OKLab | oklab(31.09% -0.0138 -0.0821) |
| OKLCH | oklch(31.09% 0.083 260.5) |
| XYZ | xyz(3.1922, 2.9415, 10.0704) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.04
Navy Blue
#1B2A4A
ΔE00 3.60
Marine Blue
#01386A
ΔE00 4.66
Darkish Blue
#014182
ΔE00 7.88
Twilight Blue
#0A437A
ΔE00 7.90
Navy (survey)
#01153E
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162F5A #5A4116
analogous
#16515A #162F5A #1F165A
triadic
#162F5A #5A162F #2F5A16
tetradic
#162F5A #5A1651 #5A4116 #165A1F
square
#162F5A #5A1651 #5A4116 #165A1F
split-complementary
#162F5A #5A1F16 #515A16
monochromatic
#060D19 #0A1529 #162F5A #22498B #2E62BC
Accessibility & contrast
On white
13.22
#162F5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#162F5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162F5A
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162F5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162F5A | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A335C
Deuteranopia (green-blind)
#0D2D59
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #162f5a; /* rgb */ color: rgb(22, 47, 90); /* oklch */ color: oklch(31.1% 0.083 260.5);
Tailwind
colors: {
custom: {
50: '#5d6789',
500: '#162f5a',
950: '#000000',
},
}SCSS
$custom: #162f5a; $custom-light: #5d6789; $custom-dark: #000000;
JSON
{
"hex": "#162f5a",
"rgb": {
"r": 22,
"g": 47,
"b": 90
},
"hsl": {
"h": 217.941,
"s": 60.714,
"l": 21.961
},
"oklch": {
"l": 0.31088,
"c": 0.08327,
"h": 260.5
},
"luminance": 0.02942
}Semantic roles & 50–950 ramp
primary
#162F5A
secondary
#91713B
accent
#A944E4
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C