#162B90#162B90
#162B90 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.167 H 267.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #162B90 |
|---|---|
| RGB | rgb(22, 43, 144) |
| HSL | hsl(230, 73%, 33%) |
| HSV | hsv(230, 85%, 56%) |
| CMYK | cmyk(84.7%, 70.1%, 0%, 43.5%) |
| CIE-LAB | lab(23.38, 31.84, -57.46) |
| CIE-LCH | lch(23.38, 65.69, 298.99°) |
| OKLab | oklab(35.21% -0.0085 -0.1665) |
| OKLCH | oklch(35.21% 0.167 267.1) |
| XYZ | xyz(6.2270, 3.9112, 26.8069) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.01
Royal
#0C1793
ΔE00 5.09
Midnight Blue
#191970
ΔE00 6.40
Cobalt Blue
#030AA7
ΔE00 7.35
Indigo Blue
#3A18B1
ΔE00 7.73
Blueberry
#464196
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162B90 #907B16
analogous
#166890 #162B90 #3E1690
triadic
#162B90 #90162B #2B9016
tetradic
#162B90 #901668 #907B16 #16903E
square
#162B90 #901668 #907B16 #16903E
split-complementary
#162B90 #903E16 #689016
monochromatic
#060B26 #0E1B5B #162B90 #1E3BC5 #3F5BE2
Accessibility & contrast
On white
11.78
#162B90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#162B90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162B90
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162B90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162B90 | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #162b90; /* rgb */ color: rgb(22, 43, 144); /* oklch */ color: oklch(35.2% 0.167 267.1);
Tailwind
colors: {
custom: {
50: '#6c64b2',
500: '#162b90',
950: '#000000',
},
}SCSS
$custom: #162b90; $custom-light: #6c64b2; $custom-dark: #000000;
JSON
{
"hex": "#162b90",
"rgb": {
"r": 22,
"g": 43,
"b": 144
},
"hsl": {
"h": 229.672,
"s": 73.494,
"l": 32.549
},
"oklch": {
"l": 0.35214,
"c": 0.16674,
"h": 267.1
},
"luminance": 0.03912
}Semantic roles & 50–950 ramp
primary
#162B90
secondary
#C2AB40
accent
#D038F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80