#162F76#162F76
#162F76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.4% C 0.126 H 265.3°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).
Color values
| HEX | #162F76 |
|---|---|
| RGB | rgb(22, 47, 118) |
| HSL | hsl(224, 69%, 27%) |
| HSV | hsv(224, 81%, 46%) |
| CMYK | cmyk(81.4%, 60.2%, 0%, 53.7%) |
| CIE-LAB | lab(21.98, 18.70, -43.40) |
| CIE-LCH | lch(21.98, 47.25, 293.31°) |
| OKLab | oklab(33.43% -0.0103 -0.1253) |
| OKLCH | oklch(33.43% 0.126 265.3) |
| XYZ | xyz(4.6163, 3.5111, 17.5704) |
| Luminance | 0.0351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.49
Marine Blue
#01386A
ΔE00 5.88
Darkish Blue
#014182
ΔE00 7.10
Midnight Blue
#191970
ΔE00 7.17
Twilight Blue
#0A437A
ΔE00 7.96
Navy Blue
#1B2A4A
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162F76 #765D16
analogous
#165F76 #162F76 #2D1676
triadic
#162F76 #76162F #2F7616
tetradic
#162F76 #76165F #765D16 #16762D
square
#162F76 #76165F #765D16 #16762D
split-complementary
#162F76 #762D16 #5F7616
monochromatic
#050A1A #0C1A42 #162F76 #2044AA #2E5BD8
Accessibility & contrast
On white
12.34
#162F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#162F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162F76
12.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162F76 | 1.00 | 12.34 | 1.70 | 12.34 |
| #FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #162f76; /* rgb */ color: rgb(22, 47, 118); /* oklch */ color: oklch(33.4% 0.126 265.3);
Tailwind
colors: {
custom: {
50: '#64679e',
500: '#162f76',
950: '#000000',
},
}SCSS
$custom: #162f76; $custom-light: #64679e; $custom-dark: #000000;
JSON
{
"hex": "#162f76",
"rgb": {
"r": 22,
"g": 47,
"b": 118
},
"hsl": {
"h": 224.375,
"s": 68.571,
"l": 27.451
},
"oklch": {
"l": 0.33434,
"c": 0.12575,
"h": 265.3
},
"luminance": 0.03512
}Semantic roles & 50–950 ramp
primary
#162F76
secondary
#AC8F3C
accent
#BE3CEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E