#291A7E#291A7E
#291A7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.157 H 279.4°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).
Color values
| HEX | #291A7E |
|---|---|
| RGB | rgb(41, 26, 126) |
| HSL | hsl(249, 66%, 30%) |
| HSV | hsv(249, 79%, 49%) |
| CMYK | cmyk(67.5%, 79.4%, 0%, 50.6%) |
| CIE-LAB | lab(18.87, 37.65, -53.56) |
| CIE-LCH | lch(18.87, 65.47, 305.11°) |
| OKLab | oklab(31.72% 0.0256 -0.1546) |
| OKLCH | oklch(31.72% 0.157 279.4) |
| XYZ | xyz(5.0485, 2.7162, 19.9928) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.95
Royal
#0C1793
ΔE00 3.76
Indigo (survey)
#380282
ΔE00 4.38
Dark Royal Blue
#02066F
ΔE00 5.13
Navy
#000080
ΔE00 5.16
Darkblue
#00008B
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291A7E #6F7E1A
analogous
#1A3D7E #291A7E #5B1A7E
triadic
#291A7E #7E291A #1A7E29
tetradic
#291A7E #7E1A3D #6F7E1A #1A7E5B
square
#291A7E #7E1A3D #6F7E1A #1A7E5B
split-complementary
#291A7E #7E5B1A #3D7E1A
monochromatic
#080519 #18104B #291A7E #3A24B1 #533CD7
Accessibility & contrast
On white
13.61
#291A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#291A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291A7E
13.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291A7E | 1.00 | 13.61 | 1.54 | 13.61 |
| #FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #291a7e; /* rgb */ color: rgb(41, 26, 126); /* oklch */ color: oklch(31.7% 0.157 279.4);
Tailwind
colors: {
custom: {
50: '#7059a4',
500: '#291a7e',
950: '#000000',
},
}SCSS
$custom: #291a7e; $custom-light: #7059a4; $custom-dark: #000000;
JSON
{
"hex": "#291a7e",
"rgb": {
"r": 41,
"g": 26,
"b": 126
},
"hsl": {
"h": 249,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.31723,
"c": 0.15674,
"h": 279.4
},
"luminance": 0.02717
}Semantic roles & 50–950 ramp
primary
#291A7E
secondary
#A1B242
accent
#E93FCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F