#162B8F#162B8F
#162B8F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.165 H 267.1°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #162B8F |
|---|---|
| RGB | rgb(22, 43, 143) |
| HSL | hsl(230, 73%, 32%) |
| HSV | hsv(230, 85%, 56%) |
| CMYK | cmyk(84.6%, 69.9%, 0%, 43.9%) |
| CIE-LAB | lab(23.27, 31.46, -57.01) |
| CIE-LCH | lch(23.27, 65.11, 298.89°) |
| OKLab | oklab(35.11% -0.0084 -0.1652) |
| OKLCH | oklch(35.11% 0.165 267.1) |
| XYZ | xyz(6.1509, 3.8808, 26.4061) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.11
Royal
#0C1793
ΔE00 5.14
Midnight Blue
#191970
ΔE00 6.32
Cobalt Blue
#030AA7
ΔE00 7.45
Blueberry
#464196
ΔE00 7.79
Darkslateblue
#483D8B
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162B8F #8F7A16
analogous
#16678F #162B8F #3E168F
triadic
#162B8F #8F162B #2B8F16
tetradic
#162B8F #8F1667 #8F7A16 #168F3E
square
#162B8F #8F1667 #8F7A16 #168F3E
split-complementary
#162B8F #8F3E16 #678F16
monochromatic
#060B25 #0E1B5A #162B8F #1E3BC4 #3E5AE1
Accessibility & contrast
On white
11.82
#162B8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#162B8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162B8F
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162B8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162B8F | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #162b8f; /* rgb */ color: rgb(22, 43, 143); /* oklch */ color: oklch(35.1% 0.165 267.1);
Tailwind
colors: {
custom: {
50: '#6c64b1',
500: '#162b8f',
950: '#000000',
},
}SCSS
$custom: #162b8f; $custom-light: #6c64b1; $custom-dark: #000000;
JSON
{
"hex": "#162b8f",
"rgb": {
"r": 22,
"g": 43,
"b": 143
},
"hsl": {
"h": 229.587,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.35108,
"c": 0.16543,
"h": 267.1
},
"luminance": 0.03881
}Semantic roles & 50–950 ramp
primary
#162B8F
secondary
#C1AB3F
accent
#D038F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80