#181786#181786
#181786 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.174 H 270.6°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).
Color values
| HEX | #181786 |
|---|---|
| RGB | rgb(24, 23, 134) |
| HSL | hsl(241, 71%, 31%) |
| HSV | hsv(241, 83%, 53%) |
| CMYK | cmyk(82.1%, 82.8%, 0%, 47.5%) |
| CIE-LAB | lab(18.04, 40.42, -60.03) |
| CIE-LCH | lch(18.04, 72.37, 303.95°) |
| OKLab | oklab(31.1% 0.0018 -0.1738) |
| OKLCH | oklch(31.1% 0.174 270.6) |
| XYZ | xyz(4.9847, 2.5276, 22.7748) |
| Luminance | 0.0253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.88
Midnight Blue
#191970
ΔE00 3.59
Darkblue
#00008B
ΔE00 3.72
Navy
#000080
ΔE00 4.04
Dark Royal Blue
#02066F
ΔE00 4.68
Deep Blue
#040273
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181786 #858617
analogous
#174D86 #181786 #501786
triadic
#181786 #861817 #178618
tetradic
#181786 #86174D #858617 #178650
square
#181786 #86174D #858617 #178650
split-complementary
#181786 #865017 #4D8617
monochromatic
#05051E #0F0E52 #181786 #2120BA #3C3ADD
Accessibility & contrast
On white
13.95
#181786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#181786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181786
13.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181786 | 1.00 | 13.95 | 1.51 | 13.95 |
| #FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002684
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #181786; /* rgb */ color: rgb(24, 23, 134); /* oklch */ color: oklch(31.1% 0.174 270.6);
Tailwind
colors: {
custom: {
50: '#6c57ab',
500: '#181786',
950: '#000000',
},
}SCSS
$custom: #181786; $custom-light: #6c57ab; $custom-dark: #000000;
JSON
{
"hex": "#181786",
"rgb": {
"r": 24,
"g": 23,
"b": 134
},
"hsl": {
"h": 240.541,
"s": 70.701,
"l": 30.784
},
"oklch": {
"l": 0.31104,
"c": 0.17379,
"h": 270.6
},
"luminance": 0.02528
}Semantic roles & 50–950 ramp
primary
#181786
secondary
#B9BA3F
accent
#ED3AEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F