#241788#241788
#241788 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.173 H 275.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #241788 |
|---|---|
| RGB | rgb(36, 23, 136) |
| HSL | hsl(247, 71%, 31%) |
| HSV | hsv(247, 83%, 53%) |
| CMYK | cmyk(73.5%, 83.1%, 0%, 46.7%) |
| CIE-LAB | lab(19.08, 41.93, -59.55) |
| CIE-LCH | lch(19.08, 72.83, 305.15°) |
| OKLab | oklab(32.1% 0.0169 -0.1721) |
| OKLCH | oklch(32.1% 0.173 275.6) |
| XYZ | xyz(5.4764, 2.7649, 23.5328) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.16
Darkblue
#00008B
ΔE00 3.94
Indigo (survey)
#380282
ΔE00 4.13
Midnight Blue
#191970
ΔE00 4.14
Navy
#000080
ΔE00 4.40
Cobalt Blue
#030AA7
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241788 #7B8817
analogous
#174288 #241788 #5C1788
triadic
#241788 #882417 #178824
tetradic
#241788 #881742 #7B8817 #17885C
square
#241788 #881742 #7B8817 #17885C
split-complementary
#241788 #885C17 #428817
monochromatic
#08051F #160E54 #241788 #3220BC #4E3BDE
Accessibility & contrast
On white
13.52
#241788 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#241788 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241788
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241788 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241788 | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002986
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #241788; /* rgb */ color: rgb(36, 23, 136); /* oklch */ color: oklch(32.1% 0.173 275.6);
Tailwind
colors: {
custom: {
50: '#7058ac',
500: '#241788',
950: '#000000',
},
}SCSS
$custom: #241788; $custom-light: #7058ac; $custom-dark: #000000;
JSON
{
"hex": "#241788",
"rgb": {
"r": 36,
"g": 23,
"b": 136
},
"hsl": {
"h": 246.903,
"s": 71.069,
"l": 31.176
},
"oklch": {
"l": 0.32102,
"c": 0.17298,
"h": 275.6
},
"luminance": 0.02765
}Semantic roles & 50–950 ramp
primary
#241788
secondary
#ADBC3F
accent
#EE3AD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F