#241779#241779
#241779 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.154 H 277.9°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #241779 |
|---|---|
| RGB | rgb(36, 23, 121) |
| HSL | hsl(248, 68%, 28%) |
| HSV | hsv(248, 81%, 47%) |
| CMYK | cmyk(70.2%, 81%, 0%, 52.5%) |
| CIE-LAB | lab(17.31, 37.09, -52.95) |
| CIE-LCH | lch(17.31, 64.65, 305.01°) |
| OKLab | oklab(30.36% 0.0212 -0.153) |
| OKLCH | oklch(30.36% 0.154 277.9) |
| XYZ | xyz(4.4840, 2.3679, 18.3062) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.20
Royal
#0C1793
ΔE00 4.12
Dark Royal Blue
#02066F
ΔE00 4.14
Deep Blue
#040273
ΔE00 4.41
Indigo (survey)
#380282
ΔE00 4.48
Navy
#000080
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241779 #6C7917
analogous
#173B79 #241779 #551779
triadic
#241779 #792417 #177924
tetradic
#241779 #79173B #6C7917 #177955
square
#241779 #79173B #6C7917 #177955
split-complementary
#241779 #795517 #3B7917
monochromatic
#08051A #150D46 #241779 #3321AC #4832D8
Accessibility & contrast
On white
14.25
#241779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#241779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241779
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241779 | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #241779; /* rgb */ color: rgb(36, 23, 121); /* oklch */ color: oklch(30.4% 0.154 277.9);
Tailwind
colors: {
custom: {
50: '#6d57a1',
500: '#241779',
950: '#000000',
},
}SCSS
$custom: #241779; $custom-light: #6d57a1; $custom-dark: #000000;
JSON
{
"hex": "#241779",
"rgb": {
"r": 36,
"g": 23,
"b": 121
},
"hsl": {
"h": 247.959,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.30356,
"c": 0.15444,
"h": 277.9
},
"luminance": 0.02368
}Semantic roles & 50–950 ramp
primary
#241779
secondary
#9FAE3E
accent
#EB3DD4
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F