#162F54#162F54
#162F54 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.074 H 258.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #162F54 |
|---|---|
| RGB | rgb(22, 47, 84) |
| HSL | hsl(216, 58%, 21%) |
| HSV | hsv(216, 74%, 33%) |
| CMYK | cmyk(73.8%, 44%, 0%, 67.1%) |
| CIE-LAB | lab(19.41, 4.47, -25.36) |
| CIE-LCH | lch(19.41, 25.75, 279.99°) |
| OKLab | oklab(30.65% -0.0152 -0.0723) |
| OKLCH | oklch(30.65% 0.074 258.2) |
| XYZ | xyz(2.9470, 2.8434, 8.7793) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.75
Navy Blue
#1B2A4A
ΔE00 2.91
Marine Blue
#01386A
ΔE00 4.84
Twilight Blue
#0A437A
ΔE00 8.11
Darkish Blue
#014182
ΔE00 8.29
Navy (survey)
#01153E
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162F54 #543B16
analogous
#164E54 #162F54 #1C1654
triadic
#162F54 #54162F #2F5416
tetradic
#162F54 #54164E #543B16 #16541C
square
#162F54 #54164E #543B16 #16541C
split-complementary
#162F54 #541C16 #4E5416
monochromatic
#060E18 #091424 #162F54 #234A84 #2F65B5
Accessibility & contrast
On white
13.39
#162F54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#162F54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162F54
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162F54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162F54 | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3255
Deuteranopia (green-blind)
#142C53
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #162f54; /* rgb */ color: rgb(22, 47, 84); /* oklch */ color: oklch(30.6% 0.074 258.2);
Tailwind
colors: {
custom: {
50: '#5c6784',
500: '#162f54',
950: '#000000',
},
}SCSS
$custom: #162f54; $custom-light: #5c6784; $custom-dark: #000000;
JSON
{
"hex": "#162f54",
"rgb": {
"r": 22,
"g": 47,
"b": 84
},
"hsl": {
"h": 215.806,
"s": 58.491,
"l": 20.784
},
"oklch": {
"l": 0.30647,
"c": 0.07386,
"h": 258.2
},
"luminance": 0.02844
}Semantic roles & 50–950 ramp
primary
#162F54
secondary
#8B6B3A
accent
#A346E2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C