#162276#162276
#162276 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.142 H 269.2°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #162276 |
|---|---|
| RGB | rgb(22, 34, 118) |
| HSL | hsl(233, 69%, 27%) |
| HSV | hsv(233, 81%, 46%) |
| CMYK | cmyk(81.4%, 71.2%, 0%, 53.7%) |
| CIE-LAB | lab(18.46, 27.83, -49.16) |
| CIE-LCH | lch(18.46, 56.49, 299.51°) |
| OKLab | oklab(30.83% -0.002 -0.1423) |
| OKLCH | oklch(30.83% 0.142 269.2) |
| XYZ | xyz(4.1718, 2.6222, 17.4223) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.72
Royal
#0C1793
ΔE00 5.58
Dark Royal Blue
#02066F
ΔE00 6.56
Darkblue (survey)
#030764
ΔE00 6.77
Deep Blue
#040273
ΔE00 7.21
Navy
#000080
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162276 #766A16
analogous
#165276 #162276 #3A1676
triadic
#162276 #761622 #227616
tetradic
#162276 #761652 #766A16 #16763A
square
#162276 #761652 #766A16 #16763A
split-complementary
#162276 #763A16 #527616
monochromatic
#05071A #0C1342 #162276 #2031AA #2E44D8
Accessibility & contrast
On white
13.77
#162276 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#162276 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162276
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162276 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162276 | 1.00 | 13.77 | 1.52 | 13.77 |
| #FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #162276; /* rgb */ color: rgb(22, 34, 118); /* oklch */ color: oklch(30.8% 0.142 269.2);
Tailwind
colors: {
custom: {
50: '#665d9e',
500: '#162276',
950: '#000000',
},
}SCSS
$custom: #162276; $custom-light: #665d9e; $custom-dark: #000000;
JSON
{
"hex": "#162276",
"rgb": {
"r": 22,
"g": 34,
"b": 118
},
"hsl": {
"h": 232.5,
"s": 68.571,
"l": 27.451
},
"oklch": {
"l": 0.30832,
"c": 0.14235,
"h": 269.2
},
"luminance": 0.02623
}Semantic roles & 50–950 ramp
primary
#162276
secondary
#AC9E3C
accent
#D63CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E