#18167B#18167B
#18167B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.161 H 271.6°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).
Color values
| HEX | #18167B |
|---|---|
| RGB | rgb(24, 22, 123) |
| HSL | hsl(241, 70%, 28%) |
| HSV | hsv(241, 82%, 48%) |
| CMYK | cmyk(80.5%, 82.1%, 0%, 51.8%) |
| CIE-LAB | lab(16.49, 37.24, -55.62) |
| CIE-LCH | lch(16.49, 66.93, 303.81°) |
| OKLab | oklab(29.63% 0.0046 -0.161) |
| OKLCH | oklch(29.63% 0.161 271.6) |
| XYZ | xyz(4.2375, 2.1976, 18.9359) |
| Luminance | 0.0220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.08
Royal
#0C1793
ΔE00 3.50
Dark Royal Blue
#02066F
ΔE00 3.60
Deep Blue
#040273
ΔE00 3.92
Navy
#000080
ΔE00 3.97
Darkblue
#00008B
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18167B #797B16
analogous
#16467B #18167B #4A167B
triadic
#18167B #7B1816 #167B18
tetradic
#18167B #7B1646 #797B16 #167B4A
square
#18167B #7B1646 #797B16 #167B4A
split-complementary
#18167B #7B4A16 #467B16
monochromatic
#05051A #0E0D47 #18167B #221FAF #3531DA
Accessibility & contrast
On white
14.59
#18167B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#18167B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18167B
14.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18167B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18167B | 1.00 | 14.59 | 1.44 | 14.59 |
| #FFFFFF | 14.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #18167b; /* rgb */ color: rgb(24, 22, 123); /* oklch */ color: oklch(29.6% 0.161 271.6);
Tailwind
colors: {
custom: {
50: '#6956a2',
500: '#18167b',
950: '#000000',
},
}SCSS
$custom: #18167b; $custom-light: #6956a2; $custom-dark: #000000;
JSON
{
"hex": "#18167b",
"rgb": {
"r": 24,
"g": 22,
"b": 123
},
"hsl": {
"h": 241.188,
"s": 69.655,
"l": 28.431
},
"oklch": {
"l": 0.29626,
"c": 0.16105,
"h": 271.6
},
"luminance": 0.02198
}Semantic roles & 50–950 ramp
primary
#18167B
secondary
#AEB03D
accent
#EC3BE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F