#181C8E#181C8E
#181C8E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.179 H 269.6°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #181C8E |
|---|---|
| RGB | rgb(24, 28, 142) |
| HSL | hsl(238, 71%, 33%) |
| HSV | hsv(238, 83%, 56%) |
| CMYK | cmyk(83.1%, 80.3%, 0%, 44.3%) |
| CIE-LAB | lab(19.95, 40.44, -61.87) |
| CIE-LCH | lch(19.95, 73.91, 303.17°) |
| OKLab | oklab(32.72% -0.0012 -0.1792) |
| OKLCH | oklch(32.72% 0.179 269.6) |
| XYZ | xyz(5.6728, 2.9770, 25.8616) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.33
Cobalt Blue
#030AA7
ΔE00 4.26
Midnight Blue
#191970
ΔE00 4.60
Darkblue
#00008B
ΔE00 4.68
Royal Blue (survey)
#0504AA
ΔE00 4.87
Navy
#000080
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181C8E #8E8A18
analogous
#18578E #181C8E #4F188E
triadic
#181C8E #8E181C #1C8E18
tetradic
#181C8E #8E1857 #8E8A18 #188E4F
square
#181C8E #8E1857 #8E8A18 #188E4F
split-complementary
#181C8E #8E4F18 #578E18
monochromatic
#060725 #0F125A #181C8E #2126C2 #4147DF
Accessibility & contrast
On white
13.16
#181C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#181C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181C8E
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181C8E | 1.00 | 13.16 | 1.60 | 13.16 |
| #FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002A8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #181c8e; /* rgb */ color: rgb(24, 28, 142); /* oklch */ color: oklch(32.7% 0.179 269.6);
Tailwind
colors: {
custom: {
50: '#6e5ab0',
500: '#181c8e',
950: '#000000',
},
}SCSS
$custom: #181c8e; $custom-light: #6e5ab0; $custom-dark: #000000;
JSON
{
"hex": "#181c8e",
"rgb": {
"r": 24,
"g": 28,
"b": 142
},
"hsl": {
"h": 237.966,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.32723,
"c": 0.17922,
"h": 269.6
},
"luminance": 0.02978
}Semantic roles & 50–950 ramp
primary
#181C8E
secondary
#C0BB42
accent
#E83AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980