#162C7B#162C7B
#162C7B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.137 H 266.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #162C7B |
|---|---|
| RGB | rgb(22, 44, 123) |
| HSL | hsl(227, 70%, 28%) |
| HSV | hsv(227, 82%, 48%) |
| CMYK | cmyk(82.1%, 64.2%, 0%, 51.8%) |
| CIE-LAB | lab(21.58, 22.88, -47.23) |
| CIE-LCH | lch(21.58, 52.48, 295.85°) |
| OKLab | oklab(33.27% -0.0082 -0.1366) |
| OKLCH | oklch(33.27% 0.137 266.6) |
| XYZ | xyz(4.8055, 3.4014, 19.1383) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.84
Midnight Blue
#191970
ΔE00 5.89
Marine Blue
#01386A
ΔE00 7.26
Royal
#0C1793
ΔE00 7.42
Sapphire (survey)
#2138AB
ΔE00 7.53
Darkslateblue
#483D8B
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162C7B #7B6516
analogous
#165E7B #162C7B #32167B
triadic
#162C7B #7B162C #2C7B16
tetradic
#162C7B #7B165E #7B6516 #167B32
square
#162C7B #7B165E #7B6516 #167B32
split-complementary
#162C7B #7B3216 #5E7B16
monochromatic
#05091A #0D1947 #162C7B #1F3FAF #3156DA
Accessibility & contrast
On white
12.50
#162C7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#162C7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162C7B
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162C7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162C7B | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #162c7b; /* rgb */ color: rgb(22, 44, 123); /* oklch */ color: oklch(33.3% 0.137 266.6);
Tailwind
colors: {
custom: {
50: '#6664a2',
500: '#162c7b',
950: '#000000',
},
}SCSS
$custom: #162c7b; $custom-light: #6664a2; $custom-dark: #000000;
JSON
{
"hex": "#162c7b",
"rgb": {
"r": 22,
"g": 44,
"b": 123
},
"hsl": {
"h": 226.931,
"s": 69.655,
"l": 28.431
},
"oklch": {
"l": 0.33274,
"c": 0.13686,
"h": 266.6
},
"luminance": 0.03402
}Semantic roles & 50–950 ramp
primary
#162C7B
secondary
#B0973D
accent
#C63BEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F