#241A7E#241A7E
#241A7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.158 H 276.6°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).
Color values
| HEX | #241A7E |
|---|---|
| RGB | rgb(36, 26, 126) |
| HSL | hsl(246, 66%, 30%) |
| HSV | hsv(246, 79%, 49%) |
| CMYK | cmyk(71.4%, 79.4%, 0%, 50.6%) |
| CIE-LAB | lab(18.45, 37.10, -54.26) |
| CIE-LCH | lch(18.45, 65.73, 304.36°) |
| OKLab | oklab(31.32% 0.0182 -0.1568) |
| OKLCH | oklch(31.32% 0.158 276.6) |
| XYZ | xyz(4.8616, 2.6198, 19.9841) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.58
Royal
#0C1793
ΔE00 3.47
Indigo (survey)
#380282
ΔE00 4.79
Dark Royal Blue
#02066F
ΔE00 4.85
Navy
#000080
ΔE00 4.95
Darkblue
#00008B
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241A7E #747E1A
analogous
#1A427E #241A7E #561A7E
triadic
#241A7E #7E241A #1A7E24
tetradic
#241A7E #7E1A42 #747E1A #1A7E56
square
#241A7E #7E1A42 #747E1A #1A7E56
split-complementary
#241A7E #7E561A #427E1A
monochromatic
#070519 #16104B #241A7E #3224B1 #4B3CD7
Accessibility & contrast
On white
13.78
#241A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#241A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241A7E
13.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241A7E | 1.00 | 13.78 | 1.52 | 13.78 |
| #FFFFFF | 13.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #241a7e; /* rgb */ color: rgb(36, 26, 126); /* oklch */ color: oklch(31.3% 0.158 276.6);
Tailwind
colors: {
custom: {
50: '#6e59a4',
500: '#241a7e',
950: '#000000',
},
}SCSS
$custom: #241a7e; $custom-light: #6e59a4; $custom-dark: #000000;
JSON
{
"hex": "#241a7e",
"rgb": {
"r": 36,
"g": 26,
"b": 126
},
"hsl": {
"h": 246,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.31324,
"c": 0.15788,
"h": 276.6
},
"luminance": 0.0262
}Semantic roles & 50–950 ramp
primary
#241A7E
secondary
#A7B242
accent
#E93FD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F