#162280#162280
#162280 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.156 H 268.9°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #162280 |
|---|---|
| RGB | rgb(22, 34, 128) |
| HSL | hsl(233, 71%, 29%) |
| HSV | hsv(233, 83%, 50%) |
| CMYK | cmyk(82.8%, 73.4%, 0%, 49.8%) |
| CIE-LAB | lab(19.53, 31.66, -53.78) |
| CIE-LCH | lch(19.53, 62.41, 300.48°) |
| OKLab | oklab(31.92% -0.0031 -0.1558) |
| OKLCH | oklch(31.92% 0.156 268.9) |
| XYZ | xyz(4.7978, 2.8726, 20.7195) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.24
Royal
#0C1793
ΔE00 4.11
Dark Royal Blue
#02066F
ΔE00 6.52
Darkblue
#00008B
ΔE00 6.78
Navy
#000080
ΔE00 6.86
Deep Blue
#040273
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162280 #807416
analogous
#165780 #162280 #3F1680
triadic
#162280 #801622 #228016
tetradic
#162280 #801657 #807416 #16803F
square
#162280 #801657 #807416 #16803F
split-complementary
#162280 #803F16 #578016
monochromatic
#04071A #0D144C #162280 #1F30B4 #3447DC
Accessibility & contrast
On white
13.34
#162280 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#162280 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162280
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162280 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162280 | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #162280; /* rgb */ color: rgb(22, 34, 128); /* oklch */ color: oklch(31.9% 0.156 268.9);
Tailwind
colors: {
custom: {
50: '#685da6',
500: '#162280',
950: '#000000',
},
}SCSS
$custom: #162280; $custom-light: #685da6; $custom-dark: #000000;
JSON
{
"hex": "#162280",
"rgb": {
"r": 22,
"g": 34,
"b": 128
},
"hsl": {
"h": 233.208,
"s": 70.667,
"l": 29.412
},
"oklch": {
"l": 0.31921,
"c": 0.15585,
"h": 268.9
},
"luminance": 0.02873
}Semantic roles & 50–950 ramp
primary
#162280
secondary
#B5A73D
accent
#D93AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F