#162F7E#162F7E
#162F7E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.137 H 265.8°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #162F7E |
|---|---|
| RGB | rgb(22, 47, 126) |
| HSL | hsl(226, 70%, 29%) |
| HSV | hsv(226, 83%, 49%) |
| CMYK | cmyk(82.5%, 62.7%, 0%, 50.6%) |
| CIE-LAB | lab(22.69, 21.98, -47.33) |
| CIE-LCH | lch(22.69, 52.19, 294.91°) |
| OKLab | oklab(34.18% -0.0101 -0.1369) |
| OKLCH | oklch(34.18% 0.137 265.8) |
| XYZ | xyz(5.1120, 3.7094, 20.1812) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.70
Marine Blue
#01386A
ΔE00 6.64
Midnight Blue
#191970
ΔE00 6.86
Sapphire (survey)
#2138AB
ΔE00 6.95
Darkish Blue
#014182
ΔE00 7.31
Darkslateblue
#483D8B
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162F7E #7E6516
analogous
#16637E #162F7E #31167E
triadic
#162F7E #7E162F #2F7E16
tetradic
#162F7E #7E1663 #7E6516 #167E31
square
#162F7E #7E1663 #7E6516 #167E31
split-complementary
#162F7E #7E3116 #637E16
monochromatic
#050A1A #0D1C4A #162F7E #1F42B2 #335BDB
Accessibility & contrast
On white
12.06
#162F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#162F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162F7E
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162F7E | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #162f7e; /* rgb */ color: rgb(22, 47, 126); /* oklch */ color: oklch(34.2% 0.137 265.8);
Tailwind
colors: {
custom: {
50: '#6767a4',
500: '#162f7e',
950: '#000000',
},
}SCSS
$custom: #162f7e; $custom-light: #6767a4; $custom-dark: #000000;
JSON
{
"hex": "#162f7e",
"rgb": {
"r": 22,
"g": 47,
"b": 126
},
"hsl": {
"h": 225.577,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.34177,
"c": 0.13724,
"h": 265.8
},
"luminance": 0.0371
}Semantic roles & 50–950 ramp
primary
#162F7E
secondary
#B3973D
accent
#C23BED
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F