#162F90#162F90
#162F90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.162 H 266.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #162F90 |
|---|---|
| RGB | rgb(22, 47, 144) |
| HSL | hsl(228, 73%, 33%) |
| HSV | hsv(228, 85%, 56%) |
| CMYK | cmyk(84.7%, 67.4%, 0%, 43.5%) |
| CIE-LAB | lab(24.37, 29.17, -55.82) |
| CIE-LCH | lch(24.37, 62.98, 297.59°) |
| OKLab | oklab(35.94% -0.0103 -0.1617) |
| OKLCH | oklch(35.94% 0.162 266.3) |
| XYZ | xyz(6.3797, 4.2164, 26.8578) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.46
Royal
#0C1793
ΔE00 6.34
Blueberry
#464196
ΔE00 7.16
Midnight Blue
#191970
ΔE00 7.30
Darkslateblue
#483D8B
ΔE00 7.45
Cobalt
#0047AB
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162F90 #907716
analogous
#166C90 #162F90 #3A1690
triadic
#162F90 #90162F #2F9016
tetradic
#162F90 #90166C #907716 #16903A
square
#162F90 #90166C #907716 #16903A
split-complementary
#162F90 #903A16 #6C9016
monochromatic
#060C26 #0E1E5B #162F90 #1E40C5 #3F60E2
Accessibility & contrast
On white
11.39
#162F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#162F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162F90
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162F90 | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #162f90; /* rgb */ color: rgb(22, 47, 144); /* oklch */ color: oklch(35.9% 0.162 266.3);
Tailwind
colors: {
custom: {
50: '#6c67b1',
500: '#162f90',
950: '#000000',
},
}SCSS
$custom: #162f90; $custom-light: #6c67b1; $custom-dark: #000000;
JSON
{
"hex": "#162f90",
"rgb": {
"r": 22,
"g": 47,
"b": 144
},
"hsl": {
"h": 227.705,
"s": 73.494,
"l": 32.549
},
"oklch": {
"l": 0.35943,
"c": 0.16204,
"h": 266.3
},
"luminance": 0.04217
}Semantic roles & 50–950 ramp
primary
#162F90
secondary
#C2A740
accent
#CA38F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80