#162270#162270
#162270 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.134 H 269.3°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #162270 |
|---|---|
| RGB | rgb(22, 34, 112) |
| HSL | hsl(232, 67%, 26%) |
| HSV | hsv(232, 80%, 44%) |
| CMYK | cmyk(80.4%, 69.6%, 0%, 56.1%) |
| CIE-LAB | lab(17.85, 25.48, -46.31) |
| CIE-LCH | lch(17.85, 52.85, 298.82°) |
| OKLab | oklab(30.2% -0.0015 -0.134) |
| OKLCH | oklch(30.2% 0.134 269.3) |
| XYZ | xyz(3.8265, 2.4841, 15.6039) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.92
Royal
#0C1793
ΔE00 6.56
Darkblue (survey)
#030764
ΔE00 6.79
Dark Royal Blue
#02066F
ΔE00 6.85
Marine
#042E60
ΔE00 7.22
Deep Blue
#040273
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162270 #706416
analogous
#164F70 #162270 #371670
triadic
#162270 #701622 #227016
tetradic
#162270 #70164F #706416 #167037
square
#162270 #70164F #706416 #167037
split-complementary
#162270 #703716 #4F7016
monochromatic
#05081A #0C123D #162270 #2032A3 #2B42D5
Accessibility & contrast
On white
14.03
#162270 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#162270 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162270
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162270 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162270 | 1.00 | 14.03 | 1.50 | 14.03 |
| #FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#00276F
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #162270; /* rgb */ color: rgb(22, 34, 112); /* oklch */ color: oklch(30.2% 0.134 269.3);
Tailwind
colors: {
custom: {
50: '#645d9a',
500: '#162270',
950: '#000000',
},
}SCSS
$custom: #162270; $custom-light: #645d9a; $custom-dark: #000000;
JSON
{
"hex": "#162270",
"rgb": {
"r": 22,
"g": 34,
"b": 112
},
"hsl": {
"h": 232,
"s": 67.164,
"l": 26.275
},
"oklch": {
"l": 0.30197,
"c": 0.13402,
"h": 269.3
},
"luminance": 0.02484
}Semantic roles & 50–950 ramp
primary
#162270
secondary
#A6983C
accent
#D33EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E