#241786#241786
#241786 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.171 H 275.9°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #241786 |
|---|---|
| RGB | rgb(36, 23, 134) |
| HSL | hsl(247, 71%, 31%) |
| HSV | hsv(247, 83%, 53%) |
| CMYK | cmyk(73.1%, 82.8%, 0%, 47.5%) |
| CIE-LAB | lab(18.84, 41.29, -58.69) |
| CIE-LCH | lch(18.84, 71.76, 305.13°) |
| OKLab | oklab(31.87% 0.0175 -0.1696) |
| OKLCH | oklch(31.87% 0.171 275.9) |
| XYZ | xyz(5.3356, 2.7086, 22.7913) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.37
Midnight Blue
#191970
ΔE00 3.87
Darkblue
#00008B
ΔE00 3.99
Indigo (survey)
#380282
ΔE00 4.11
Navy
#000080
ΔE00 4.35
Cobalt Blue
#030AA7
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241786 #798617
analogous
#174186 #241786 #5B1786
triadic
#241786 #862417 #178624
tetradic
#241786 #861741 #798617 #17865B
square
#241786 #861741 #798617 #17865B
split-complementary
#241786 #865B17 #418617
monochromatic
#08051E #160E52 #241786 #3220BA #4D3ADD
Accessibility & contrast
On white
13.62
#241786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#241786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241786
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241786 | 1.00 | 13.62 | 1.54 | 13.62 |
| #FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #241786; /* rgb */ color: rgb(36, 23, 134); /* oklch */ color: oklch(31.9% 0.171 275.9);
Tailwind
colors: {
custom: {
50: '#7058aa',
500: '#241786',
950: '#000000',
},
}SCSS
$custom: #241786; $custom-light: #7058aa; $custom-dark: #000000;
JSON
{
"hex": "#241786",
"rgb": {
"r": 36,
"g": 23,
"b": 134
},
"hsl": {
"h": 247.027,
"s": 70.701,
"l": 30.784
},
"oklch": {
"l": 0.31866,
"c": 0.17055,
"h": 275.9
},
"luminance": 0.02709
}Semantic roles & 50–950 ramp
primary
#241786
secondary
#ACBA3F
accent
#ED3AD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F