#241785#241785
#241785 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.169 H 276.0°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).
Color values
| HEX | #241785 |
|---|---|
| RGB | rgb(36, 23, 133) |
| HSL | hsl(247, 71%, 31%) |
| HSV | hsv(247, 83%, 52%) |
| CMYK | cmyk(72.9%, 82.7%, 0%, 47.8%) |
| CIE-LAB | lab(18.72, 40.97, -58.25) |
| CIE-LCH | lch(18.72, 71.22, 305.12°) |
| OKLab | oklab(31.75% 0.0178 -0.1684) |
| OKLCH | oklch(31.75% 0.169 276) |
| XYZ | xyz(5.2662, 2.6808, 22.4257) |
| Luminance | 0.0268 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.49
Midnight Blue
#191970
ΔE00 3.73
Darkblue
#00008B
ΔE00 4.02
Indigo (survey)
#380282
ΔE00 4.10
Navy
#000080
ΔE00 4.33
Deep Blue
#040273
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241785 #788517
analogous
#174185 #241785 #5B1785
triadic
#241785 #852417 #178524
tetradic
#241785 #851741 #788517 #17855B
square
#241785 #851741 #788517 #17855B
split-complementary
#241785 #855B17 #418517
monochromatic
#08051D #160E51 #241785 #3220B9 #4D3ADD
Accessibility & contrast
On white
13.67
#241785 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#241785 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241785
13.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241785 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241785 | 1.00 | 13.67 | 1.54 | 13.67 |
| #FFFFFF | 13.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #241785; /* rgb */ color: rgb(36, 23, 133); /* oklch */ color: oklch(31.7% 0.169 276.0);
Tailwind
colors: {
custom: {
50: '#7058aa',
500: '#241785',
950: '#000000',
},
}SCSS
$custom: #241785; $custom-light: #7058aa; $custom-dark: #000000;
JSON
{
"hex": "#241785",
"rgb": {
"r": 36,
"g": 23,
"b": 133
},
"hsl": {
"h": 247.091,
"s": 70.513,
"l": 30.588
},
"oklch": {
"l": 0.31748,
"c": 0.16933,
"h": 276
},
"luminance": 0.02681
}Semantic roles & 50–950 ramp
primary
#241785
secondary
#ABB93F
accent
#ED3BD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F