#162973#162973
#162973 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.129 H 267.3°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #162973 |
|---|---|
| RGB | rgb(22, 41, 115) |
| HSL | hsl(228, 68%, 27%) |
| HSV | hsv(228, 81%, 45%) |
| CMYK | cmyk(80.9%, 64.3%, 0%, 54.9%) |
| CIE-LAB | lab(20.02, 21.76, -44.68) |
| CIE-LCH | lch(20.02, 49.70, 295.96°) |
| OKLab | oklab(31.89% -0.0062 -0.1292) |
| OKLCH | oklch(31.89% 0.129 267.3) |
| XYZ | xyz(4.2172, 2.9938, 16.5719) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.16
Marine
#042E60
ΔE00 5.49
Marine Blue
#01386A
ΔE00 7.60
Royal
#0C1793
ΔE00 7.72
Navy Blue
#1B2A4A
ΔE00 8.19
Darkslateblue
#483D8B
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162973 #736016
analogous
#165873 #162973 #321673
triadic
#162973 #731629 #297316
tetradic
#162973 #731658 #736016 #167332
square
#162973 #731658 #736016 #167332
split-complementary
#162973 #733216 #587316
monochromatic
#05091A #0C1740 #162973 #203BA6 #2D4FD7
Accessibility & contrast
On white
13.13
#162973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#162973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162973
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162973 | 1.00 | 13.13 | 1.60 | 13.13 |
| #FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #162973; /* rgb */ color: rgb(22, 41, 115); /* oklch */ color: oklch(31.9% 0.129 267.3);
Tailwind
colors: {
custom: {
50: '#64629c',
500: '#162973',
950: '#000000',
},
}SCSS
$custom: #162973; $custom-light: #64629c; $custom-dark: #000000;
JSON
{
"hex": "#162973",
"rgb": {
"r": 22,
"g": 41,
"b": 115
},
"hsl": {
"h": 227.742,
"s": 67.883,
"l": 26.863
},
"oklch": {
"l": 0.31885,
"c": 0.12933,
"h": 267.3
},
"luminance": 0.02994
}Semantic roles & 50–950 ramp
primary
#162973
secondary
#A9933C
accent
#C73DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E