#241581#241581
#241581 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.166 H 276.9°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).
Color values
| HEX | #241581 |
|---|---|
| RGB | rgb(36, 21, 129) |
| HSL | hsl(248, 72%, 29%) |
| HSV | hsv(248, 84%, 51%) |
| CMYK | cmyk(72.1%, 83.7%, 0%, 49.4%) |
| CIE-LAB | lab(17.90, 40.69, -57.08) |
| CIE-LCH | lch(17.90, 70.09, 305.48°) |
| OKLab | oklab(31.04% 0.0198 -0.1649) |
| OKLCH | oklch(31.04% 0.166 276.9) |
| XYZ | xyz(4.9569, 2.4959, 20.9852) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.03
Midnight Blue
#191970
ΔE00 3.38
Indigo (survey)
#380282
ΔE00 3.81
Darkblue
#00008B
ΔE00 3.89
Navy
#000080
ΔE00 3.96
Deep Blue
#040273
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241581 #728115
analogous
#153C81 #241581 #5A1581
triadic
#241581 #812415 #158124
tetradic
#241581 #81153C #728115 #15815A
square
#241581 #81153C #728115 #15815A
split-complementary
#241581 #815A15 #3C8115
monochromatic
#07041A #150C4C #241581 #331EB6 #4A33DE
Accessibility & contrast
On white
14.01
#241581 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#241581 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241581
14.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241581 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241581 | 1.00 | 14.01 | 1.50 | 14.01 |
| #FFFFFF | 14.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003084
Deuteranopia (green-blind)
#00277F
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #241581; /* rgb */ color: rgb(36, 21, 129); /* oklch */ color: oklch(31.0% 0.166 276.9);
Tailwind
colors: {
custom: {
50: '#6f56a7',
500: '#241581',
950: '#000000',
},
}SCSS
$custom: #241581; $custom-light: #6f56a7; $custom-dark: #000000;
JSON
{
"hex": "#241581",
"rgb": {
"r": 36,
"g": 21,
"b": 129
},
"hsl": {
"h": 248.333,
"s": 72,
"l": 29.412
},
"oklch": {
"l": 0.31042,
"c": 0.16613,
"h": 276.9
},
"luminance": 0.02496
}Semantic roles & 50–950 ramp
primary
#241581
secondary
#A5B63C
accent
#EF39D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F