#162875#162875
#162875 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.133 H 267.6°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).
Color values
| HEX | #162875 |
|---|---|
| RGB | rgb(22, 40, 117) |
| HSL | hsl(229, 68%, 27%) |
| HSV | hsv(229, 81%, 46%) |
| CMYK | cmyk(81.2%, 65.8%, 0%, 54.1%) |
| CIE-LAB | lab(19.93, 23.28, -46.11) |
| CIE-LCH | lch(19.93, 51.65, 296.79°) |
| OKLab | oklab(31.88% -0.0055 -0.1334) |
| OKLCH | oklch(31.88% 0.133 267.6) |
| XYZ | xyz(4.2994, 2.9720, 17.1732) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.70
Marine
#042E60
ΔE00 6.02
Royal
#0C1793
ΔE00 7.14
Marine Blue
#01386A
ΔE00 8.06
Dark Royal Blue
#02066F
ΔE00 8.58
Navy Blue
#1B2A4A
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162875 #756316
analogous
#165775 #162875 #341675
triadic
#162875 #751628 #287516
tetradic
#162875 #751657 #756316 #167534
square
#162875 #751657 #756316 #167534
split-complementary
#162875 #753416 #577516
monochromatic
#05091A #0C1641 #162875 #203AA9 #2E4ED8
Accessibility & contrast
On white
13.17
#162875 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#162875 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162875
13.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162875 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162875 | 1.00 | 13.17 | 1.59 | 13.17 |
| #FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #162875; /* rgb */ color: rgb(22, 40, 117); /* oklch */ color: oklch(31.9% 0.133 267.6);
Tailwind
colors: {
custom: {
50: '#65619e',
500: '#162875',
950: '#000000',
},
}SCSS
$custom: #162875; $custom-light: #65619e; $custom-dark: #000000;
JSON
{
"hex": "#162875",
"rgb": {
"r": 22,
"g": 40,
"b": 117
},
"hsl": {
"h": 228.632,
"s": 68.345,
"l": 27.255
},
"oklch": {
"l": 0.31878,
"c": 0.13349,
"h": 267.6
},
"luminance": 0.02973
}Semantic roles & 50–950 ramp
primary
#162875
secondary
#AB963C
accent
#CA3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E