#162D93#162D93
#162D93 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.168 H 266.7°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #162D93 |
|---|---|
| RGB | rgb(22, 45, 147) |
| HSL | hsl(229, 74%, 33%) |
| HSV | hsv(229, 85%, 58%) |
| CMYK | cmyk(85%, 69.4%, 0%, 42.4%) |
| CIE-LAB | lab(24.17, 31.67, -58.01) |
| CIE-LCH | lch(24.17, 66.09, 298.64°) |
| OKLab | oklab(35.89% -0.0096 -0.1681) |
| OKLCH | oklch(35.89% 0.168 266.7) |
| XYZ | xyz(6.5339, 4.1531, 28.0554) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.38
Royal
#0C1793
ΔE00 5.57
Midnight Blue
#191970
ΔE00 7.06
Blueberry
#464196
ΔE00 7.41
Cobalt Blue
#030AA7
ΔE00 7.64
Darkslateblue
#483D8B
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162D93 #937C16
analogous
#166B93 #162D93 #3D1693
triadic
#162D93 #93162D #2D9316
tetradic
#162D93 #93166B #937C16 #16933D
square
#162D93 #93166B #937C16 #16933D
split-complementary
#162D93 #933D16 #6B9316
monochromatic
#060C29 #0E1D5E #162D93 #1E3DC8 #415FE3
Accessibility & contrast
On white
11.47
#162D93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#162D93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162D93
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162D93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162D93 | 1.00 | 11.47 | 1.83 | 11.47 |
| #FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #162d93; /* rgb */ color: rgb(22, 45, 147); /* oklch */ color: oklch(35.9% 0.168 266.7);
Tailwind
colors: {
custom: {
50: '#6d66b4',
500: '#162d93',
950: '#000000',
},
}SCSS
$custom: #162d93; $custom-light: #6d66b4; $custom-dark: #000000;
JSON
{
"hex": "#162d93",
"rgb": {
"r": 22,
"g": 45,
"b": 147
},
"hsl": {
"h": 228.96,
"s": 73.964,
"l": 33.137
},
"oklch": {
"l": 0.35885,
"c": 0.16837,
"h": 266.7
},
"luminance": 0.04154
}Semantic roles & 50–950 ramp
primary
#162D93
secondary
#C3AB42
accent
#CE37F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80