#241787#241787
#241787 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.172 H 275.7°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #241787 |
|---|---|
| RGB | rgb(36, 23, 135) |
| HSL | hsl(247, 71%, 31%) |
| HSV | hsv(247, 83%, 53%) |
| CMYK | cmyk(73.3%, 83%, 0%, 47.1%) |
| CIE-LAB | lab(18.96, 41.61, -59.12) |
| CIE-LCH | lch(18.96, 72.29, 305.14°) |
| OKLab | oklab(31.98% 0.0172 -0.1709) |
| OKLCH | oklch(31.98% 0.172 275.7) |
| XYZ | xyz(5.4057, 2.7366, 23.1603) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.26
Darkblue
#00008B
ΔE00 3.96
Midnight Blue
#191970
ΔE00 4.00
Indigo (survey)
#380282
ΔE00 4.12
Navy
#000080
ΔE00 4.37
Cobalt Blue
#030AA7
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241787 #7A8717
analogous
#174287 #241787 #5C1787
triadic
#241787 #872417 #178724
tetradic
#241787 #871742 #7A8717 #17875C
square
#241787 #871742 #7A8717 #17875C
split-complementary
#241787 #875C17 #428717
monochromatic
#08051E #160E53 #241787 #3220BB #4E3BDE
Accessibility & contrast
On white
13.57
#241787 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#241787 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241787
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241787 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241787 | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338A
Deuteranopia (green-blind)
#002985
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #241787; /* rgb */ color: rgb(36, 23, 135); /* oklch */ color: oklch(32.0% 0.172 275.7);
Tailwind
colors: {
custom: {
50: '#7058ab',
500: '#241787',
950: '#000000',
},
}SCSS
$custom: #241787; $custom-light: #7058ab; $custom-dark: #000000;
JSON
{
"hex": "#241787",
"rgb": {
"r": 36,
"g": 23,
"b": 135
},
"hsl": {
"h": 246.964,
"s": 70.886,
"l": 30.98
},
"oklch": {
"l": 0.31984,
"c": 0.17176,
"h": 275.7
},
"luminance": 0.02737
}Semantic roles & 50–950 ramp
primary
#241787
secondary
#ACBB3F
accent
#EE3AD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F