#241887#241887
#241887 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.171 H 275.6°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).
Color values
| HEX | #241887 |
|---|---|
| RGB | rgb(36, 24, 135) |
| HSL | hsl(246, 70%, 31%) |
| HSV | hsv(246, 82%, 53%) |
| CMYK | cmyk(73.3%, 82.2%, 0%, 47.1%) |
| CIE-LAB | lab(19.13, 41.11, -58.83) |
| CIE-LCH | lch(19.13, 71.77, 304.94°) |
| OKLab | oklab(32.1% 0.0168 -0.1701) |
| OKLCH | oklch(32.1% 0.171 275.6) |
| XYZ | xyz(5.4259, 2.7771, 23.1671) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.26
Midnight Blue
#191970
ΔE00 3.94
Darkblue
#00008B
ΔE00 4.13
Indigo (survey)
#380282
ΔE00 4.28
Navy
#000080
ΔE00 4.54
Cobalt Blue
#030AA7
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241887 #7B8718
analogous
#184387 #241887 #5B1887
triadic
#241887 #872418 #188724
tetradic
#241887 #871843 #7B8718 #18875B
square
#241887 #871843 #7B8718 #18875B
split-complementary
#241887 #875B18 #438718
monochromatic
#08061F #160F53 #241887 #3221BB #4E3DDC
Accessibility & contrast
On white
13.50
#241887 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#241887 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241887
13.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241887 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241887 | 1.00 | 13.50 | 1.56 | 13.50 |
| #FFFFFF | 13.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.50 | 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: #241887; /* rgb */ color: rgb(36, 24, 135); /* oklch */ color: oklch(32.1% 0.171 275.6);
Tailwind
colors: {
custom: {
50: '#7058ab',
500: '#241887',
950: '#000000',
},
}SCSS
$custom: #241887; $custom-light: #7058ab; $custom-dark: #000000;
JSON
{
"hex": "#241887",
"rgb": {
"r": 36,
"g": 24,
"b": 135
},
"hsl": {
"h": 246.486,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.32103,
"c": 0.17092,
"h": 275.6
},
"luminance": 0.02778
}Semantic roles & 50–950 ramp
primary
#241887
secondary
#ADBB40
accent
#ED3BD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F