#241778#241778
#241778 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.153 H 278.1°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).
Color values
| HEX | #241778 |
|---|---|
| RGB | rgb(36, 23, 120) |
| HSL | hsl(248, 68%, 28%) |
| HSV | hsv(248, 81%, 47%) |
| CMYK | cmyk(70%, 80.8%, 0%, 52.9%) |
| CIE-LAB | lab(17.20, 36.76, -52.50) |
| CIE-LCH | lch(17.20, 64.09, 305.00°) |
| OKLab | oklab(30.24% 0.0215 -0.1517) |
| OKLCH | oklch(30.24% 0.153 278.1) |
| XYZ | xyz(4.4230, 2.3435, 17.9849) |
| Luminance | 0.0234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.09
Dark Royal Blue
#02066F
ΔE00 4.11
Royal
#0C1793
ΔE00 4.27
Deep Blue
#040273
ΔE00 4.41
Indigo (survey)
#380282
ΔE00 4.55
Navy
#000080
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241778 #6B7817
analogous
#173A78 #241778 #541778
triadic
#241778 #782417 #177824
tetradic
#241778 #78173A #6B7817 #177854
square
#241778 #78173A #6B7817 #177854
split-complementary
#241778 #785417 #3A7817
monochromatic
#08051A #150D45 #241778 #3321AB #4832D8
Accessibility & contrast
On white
14.30
#241778 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#241778 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241778
14.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241778 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241778 | 1.00 | 14.30 | 1.47 | 14.30 |
| #FFFFFF | 14.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002676
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #241778; /* rgb */ color: rgb(36, 23, 120); /* oklch */ color: oklch(30.2% 0.153 278.1);
Tailwind
colors: {
custom: {
50: '#6c57a0',
500: '#241778',
950: '#000000',
},
}SCSS
$custom: #241778; $custom-light: #6c57a0; $custom-dark: #000000;
JSON
{
"hex": "#241778",
"rgb": {
"r": 36,
"g": 23,
"b": 120
},
"hsl": {
"h": 248.041,
"s": 67.832,
"l": 28.039
},
"oklch": {
"l": 0.30241,
"c": 0.15318,
"h": 278.1
},
"luminance": 0.02344
}Semantic roles & 50–950 ramp
primary
#241778
secondary
#9EAD3E
accent
#EB3DD3
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F