#241F87#241F87
#241F87 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.164 H 274.7°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).
Color values
| HEX | #241F87 |
|---|---|
| RGB | rgb(36, 31, 135) |
| HSL | hsl(243, 63%, 33%) |
| HSV | hsv(243, 77%, 53%) |
| CMYK | cmyk(73.3%, 77%, 0%, 47.1%) |
| CIE-LAB | lab(20.45, 37.30, -56.64) |
| CIE-LCH | lch(20.45, 67.82, 303.37°) |
| OKLab | oklab(33.03% 0.0135 -0.1638) |
| OKLCH | oklch(33.03% 0.164 274.7) |
| XYZ | xyz(5.5893, 3.1038, 23.2215) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.80
Midnight Blue
#191970
ΔE00 3.84
Cobalt Blue
#030AA7
ΔE00 5.57
Darkblue
#00008B
ΔE00 5.58
Indigo (survey)
#380282
ΔE00 5.67
Navy
#000080
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241F87 #82871F
analogous
#1F4E87 #241F87 #581F87
triadic
#241F87 #87241F #1F8724
tetradic
#241F87 #871F4E #82871F #1F8758
square
#241F87 #871F4E #82871F #1F8758
split-complementary
#241F87 #87581F #4E871F
monochromatic
#090823 #171455 #241F87 #312AB9 #514BD6
Accessibility & contrast
On white
12.96
#241F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#241F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241F87
12.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241F87 | 1.00 | 12.96 | 1.62 | 12.96 |
| #FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #241f87; /* rgb */ color: rgb(36, 31, 135); /* oklch */ color: oklch(33.0% 0.164 274.7);
Tailwind
colors: {
custom: {
50: '#6f5cab',
500: '#241f87',
950: '#000000',
},
}SCSS
$custom: #241f87; $custom-light: #6f5cab; $custom-dark: #000000;
JSON
{
"hex": "#241f87",
"rgb": {
"r": 36,
"g": 31,
"b": 135
},
"hsl": {
"h": 242.885,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.33033,
"c": 0.16435,
"h": 274.7
},
"luminance": 0.03104
}Semantic roles & 50–950 ramp
primary
#241F87
secondary
#B3B84A
accent
#E642DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F