#181C86#181C86
#181C86 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.169 H 270.1°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #181C86 |
|---|---|
| RGB | rgb(24, 28, 134) |
| HSL | hsl(238, 70%, 31%) |
| HSV | hsv(238, 82%, 53%) |
| CMYK | cmyk(82.1%, 79.1%, 0%, 47.5%) |
| CIE-LAB | lab(18.99, 37.67, -58.45) |
| CIE-LCH | lch(18.99, 69.54, 302.80°) |
| OKLab | oklab(31.77% 0.0003 -0.1693) |
| OKLCH | oklch(31.77% 0.169 270.1) |
| XYZ | xyz(5.0936, 2.7453, 22.8111) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.22
Midnight Blue
#191970
ΔE00 3.43
Darkblue
#00008B
ΔE00 4.83
Navy
#000080
ΔE00 5.13
Cobalt Blue
#030AA7
ΔE00 5.28
Dark Royal Blue
#02066F
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181C86 #868218
analogous
#185386 #181C86 #4B1886
triadic
#181C86 #86181C #1C8618
tetradic
#181C86 #861853 #868218 #18864B
square
#181C86 #861853 #868218 #18864B
split-complementary
#181C86 #864B18 #538618
monochromatic
#05061E #0F1152 #181C86 #2127BA #3C42DC
Accessibility & contrast
On white
13.56
#181C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#181C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181C86
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181C86 | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #181c86; /* rgb */ color: rgb(24, 28, 134); /* oklch */ color: oklch(31.8% 0.169 270.1);
Tailwind
colors: {
custom: {
50: '#6b5aaa',
500: '#181c86',
950: '#000000',
},
}SCSS
$custom: #181c86; $custom-light: #6b5aaa; $custom-dark: #000000;
JSON
{
"hex": "#181c86",
"rgb": {
"r": 24,
"g": 28,
"b": 134
},
"hsl": {
"h": 237.818,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.3177,
"c": 0.16929,
"h": 270.1
},
"luminance": 0.02746
}Semantic roles & 50–950 ramp
primary
#181C86
secondary
#BAB540
accent
#E63BEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F