#162B85#162B85
#162B85 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.152 H 267.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #162B85 |
|---|---|
| RGB | rgb(22, 43, 133) |
| HSL | hsl(229, 72%, 30%) |
| HSV | hsv(229, 83%, 52%) |
| CMYK | cmyk(83.5%, 67.7%, 0%, 47.8%) |
| CIE-LAB | lab(22.27, 27.57, -52.42) |
| CIE-LCH | lch(22.27, 59.23, 297.75°) |
| OKLab | oklab(34.07% -0.0078 -0.1518) |
| OKLCH | oklch(34.07% 0.152 267) |
| XYZ | xyz(5.4269, 3.5911, 22.5929) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.69
Royal
#0C1793
ΔE00 5.94
Sapphire (survey)
#2138AB
ΔE00 6.26
Marine
#042E60
ΔE00 7.44
Darkslateblue
#483D8B
ΔE00 7.88
Blueberry
#464196
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162B85 #857016
analogous
#166285 #162B85 #391685
triadic
#162B85 #85162B #2B8516
tetradic
#162B85 #851662 #857016 #168539
square
#162B85 #851662 #857016 #168539
split-complementary
#162B85 #853916 #628516
monochromatic
#05091C #0D1A50 #162B85 #1F3CBA #3757DE
Accessibility & contrast
On white
12.22
#162B85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#162B85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162B85
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162B85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162B85 | 1.00 | 12.22 | 1.72 | 12.22 |
| #FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #162b85; /* rgb */ color: rgb(22, 43, 133); /* oklch */ color: oklch(34.1% 0.152 267.0);
Tailwind
colors: {
custom: {
50: '#6964a9',
500: '#162b85',
950: '#000000',
},
}SCSS
$custom: #162b85; $custom-light: #6964a9; $custom-dark: #000000;
JSON
{
"hex": "#162b85",
"rgb": {
"r": 22,
"g": 43,
"b": 133
},
"hsl": {
"h": 228.649,
"s": 71.613,
"l": 30.392
},
"oklch": {
"l": 0.34072,
"c": 0.15201,
"h": 267
},
"luminance": 0.03592
}Semantic roles & 50–950 ramp
primary
#162B85
secondary
#B9A23E
accent
#CC39EE
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F