#162F7A#162F7A
#162F7A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.132 H 265.6°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #162F7A |
|---|---|
| RGB | rgb(22, 47, 122) |
| HSL | hsl(225, 69%, 28%) |
| HSV | hsv(225, 82%, 48%) |
| CMYK | cmyk(82%, 61.5%, 0%, 52.2%) |
| CIE-LAB | lab(22.33, 20.35, -45.38) |
| CIE-LCH | lch(22.33, 49.73, 294.15°) |
| OKLab | oklab(33.8% -0.0102 -0.1311) |
| OKLCH | oklch(33.8% 0.132 265.6) |
| XYZ | xyz(4.8590, 3.6082, 18.8489) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.09
Marine Blue
#01386A
ΔE00 6.24
Midnight Blue
#191970
ΔE00 6.97
Darkish Blue
#014182
ΔE00 7.18
Sapphire (survey)
#2138AB
ΔE00 7.55
Darkslateblue
#483D8B
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162F7A #7A6116
analogous
#16617A #162F7A #2F167A
triadic
#162F7A #7A162F #2F7A16
tetradic
#162F7A #7A1661 #7A6116 #167A2F
square
#162F7A #7A1661 #7A6116 #167A2F
split-complementary
#162F7A #7A2F16 #617A16
monochromatic
#050A1A #0D1B46 #162F7A #1F43AE #315BDA
Accessibility & contrast
On white
12.20
#162F7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#162F7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162F7A
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162F7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162F7A | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #162f7a; /* rgb */ color: rgb(22, 47, 122); /* oklch */ color: oklch(33.8% 0.132 265.6);
Tailwind
colors: {
custom: {
50: '#6567a1',
500: '#162f7a',
950: '#000000',
},
}SCSS
$custom: #162f7a; $custom-light: #6567a1; $custom-dark: #000000;
JSON
{
"hex": "#162f7a",
"rgb": {
"r": 22,
"g": 47,
"b": 122
},
"hsl": {
"h": 225,
"s": 69.444,
"l": 28.235
},
"oklch": {
"l": 0.33802,
"c": 0.13153,
"h": 265.6
},
"luminance": 0.03609
}Semantic roles & 50–950 ramp
primary
#162F7A
secondary
#AF933D
accent
#C03CEC
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F