#18167C#18167C
#18167C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.162 H 271.5°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).
Color values
| HEX | #18167C |
|---|---|
| RGB | rgb(24, 22, 124) |
| HSL | hsl(241, 70%, 29%) |
| HSV | hsv(241, 82%, 49%) |
| CMYK | cmyk(80.6%, 82.3%, 0%, 51.4%) |
| CIE-LAB | lab(16.62, 37.58, -56.05) |
| CIE-LCH | lch(16.62, 67.48, 303.84°) |
| OKLab | oklab(29.75% 0.0043 -0.1622) |
| OKLCH | oklch(29.75% 0.162 271.5) |
| XYZ | xyz(4.3005, 2.2228, 19.2673) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.23
Royal
#0C1793
ΔE00 3.34
Dark Royal Blue
#02066F
ΔE00 3.67
Navy
#000080
ΔE00 3.92
Deep Blue
#040273
ΔE00 3.95
Darkblue
#00008B
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18167C #7A7C16
analogous
#16477C #18167C #4B167C
triadic
#18167C #7C1816 #167C18
tetradic
#18167C #7C1647 #7A7C16 #167C4B
square
#18167C #7C1647 #7A7C16 #167C4B
split-complementary
#18167C #7C4B16 #477C16
monochromatic
#05051A #0E0D48 #18167C #221FB0 #3532DB
Accessibility & contrast
On white
14.54
#18167C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#18167C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18167C
14.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18167C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18167C | 1.00 | 14.54 | 1.44 | 14.54 |
| #FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #18167c; /* rgb */ color: rgb(24, 22, 124); /* oklch */ color: oklch(29.7% 0.162 271.5);
Tailwind
colors: {
custom: {
50: '#6956a3',
500: '#18167c',
950: '#000000',
},
}SCSS
$custom: #18167c; $custom-light: #6956a3; $custom-dark: #000000;
JSON
{
"hex": "#18167c",
"rgb": {
"r": 24,
"g": 22,
"b": 124
},
"hsl": {
"h": 241.176,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.29748,
"c": 0.16231,
"h": 271.5
},
"luminance": 0.02223
}Semantic roles & 50–950 ramp
primary
#18167C
secondary
#AFB13D
accent
#ED3BE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F