#162476#162476
#162476 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.140 H 268.7°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #162476 |
|---|---|
| RGB | rgb(22, 36, 118) |
| HSL | hsl(231, 69%, 27%) |
| HSV | hsv(231, 81%, 46%) |
| CMYK | cmyk(81.4%, 69.5%, 0%, 53.7%) |
| CIE-LAB | lab(18.97, 26.46, -48.33) |
| CIE-LCH | lch(18.97, 55.10, 298.70°) |
| OKLab | oklab(31.2% -0.0031 -0.1399) |
| OKLCH | oklch(31.2% 0.14 268.7) |
| XYZ | xyz(4.2306, 2.7399, 17.4419) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.34
Royal
#0C1793
ΔE00 6.01
Dark Royal Blue
#02066F
ΔE00 7.20
Marine
#042E60
ΔE00 7.25
Darkblue (survey)
#030764
ΔE00 7.36
Deep Blue
#040273
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162476 #766816
analogous
#165476 #162476 #381676
triadic
#162476 #761624 #247616
tetradic
#162476 #761654 #766816 #167638
square
#162476 #761654 #766816 #167638
split-complementary
#162476 #763816 #547616
monochromatic
#05081A #0C1442 #162476 #2034AA #2E47D8
Accessibility & contrast
On white
13.57
#162476 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#162476 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162476
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162476 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162476 | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #162476; /* rgb */ color: rgb(22, 36, 118); /* oklch */ color: oklch(31.2% 0.140 268.7);
Tailwind
colors: {
custom: {
50: '#655e9e',
500: '#162476',
950: '#000000',
},
}SCSS
$custom: #162476; $custom-light: #655e9e; $custom-dark: #000000;
JSON
{
"hex": "#162476",
"rgb": {
"r": 22,
"g": 36,
"b": 118
},
"hsl": {
"h": 231.25,
"s": 68.571,
"l": 27.451
},
"oklch": {
"l": 0.31202,
"c": 0.13994,
"h": 268.7
},
"luminance": 0.0274
}Semantic roles & 50–950 ramp
primary
#162476
secondary
#AC9B3C
accent
#D23CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E