#162E93#162E93
#162E93 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.167 H 266.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #162E93 |
|---|---|
| RGB | rgb(22, 46, 147) |
| HSL | hsl(228, 74%, 33%) |
| HSV | hsv(228, 85%, 58%) |
| CMYK | cmyk(85%, 68.7%, 0%, 42.4%) |
| CIE-LAB | lab(24.42, 31.01, -57.60) |
| CIE-LCH | lch(24.42, 65.42, 298.30°) |
| OKLab | oklab(36.07% -0.01 -0.1669) |
| OKLCH | oklch(36.07% 0.167 266.6) |
| XYZ | xyz(6.5725, 4.2303, 28.0682) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.23
Royal
#0C1793
ΔE00 5.88
Blueberry
#464196
ΔE00 7.25
Midnight Blue
#191970
ΔE00 7.28
Darkslateblue
#483D8B
ΔE00 7.57
Cobalt Blue
#030AA7
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162E93 #937B16
analogous
#166C93 #162E93 #3C1693
triadic
#162E93 #93162E #2E9316
tetradic
#162E93 #93166C #937B16 #16933C
square
#162E93 #93166C #937B16 #16933C
split-complementary
#162E93 #933C16 #6C9316
monochromatic
#060D29 #0E1D5E #162E93 #1E3FC8 #4160E3
Accessibility & contrast
On white
11.37
#162E93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#162E93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162E93
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162E93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162E93 | 1.00 | 11.37 | 1.85 | 11.37 |
| #FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #162e93; /* rgb */ color: rgb(22, 46, 147); /* oklch */ color: oklch(36.1% 0.167 266.6);
Tailwind
colors: {
custom: {
50: '#6d66b4',
500: '#162e93',
950: '#000000',
},
}SCSS
$custom: #162e93; $custom-light: #6d66b4; $custom-dark: #000000;
JSON
{
"hex": "#162e93",
"rgb": {
"r": 22,
"g": 46,
"b": 147
},
"hsl": {
"h": 228.48,
"s": 73.964,
"l": 33.137
},
"oklch": {
"l": 0.36065,
"c": 0.16721,
"h": 266.6
},
"luminance": 0.04231
}Semantic roles & 50–950 ramp
primary
#162E93
secondary
#C3AA42
accent
#CD37F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80