#291A7D#291A7D
#291A7D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.155 H 279.6°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #291A7D |
|---|---|
| RGB | rgb(41, 26, 125) |
| HSL | hsl(249, 66%, 30%) |
| HSV | hsv(249, 79%, 49%) |
| CMYK | cmyk(67.2%, 79.2%, 0%, 51%) |
| CIE-LAB | lab(18.76, 37.33, -53.10) |
| CIE-LCH | lch(18.76, 64.91, 305.10°) |
| OKLab | oklab(31.61% 0.0259 -0.1533) |
| OKLCH | oklch(31.61% 0.155 279.6) |
| XYZ | xyz(4.9843, 2.6905, 19.6547) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.84
Royal
#0C1793
ΔE00 3.90
Indigo (survey)
#380282
ΔE00 4.42
Dark Royal Blue
#02066F
ΔE00 5.08
Navy
#000080
ΔE00 5.20
Darkblue
#00008B
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291A7D #6E7D1A
analogous
#1A3D7D #291A7D #5B1A7D
triadic
#291A7D #7D291A #1A7D29
tetradic
#291A7D #7D1A3D #6E7D1A #1A7D5B
square
#291A7D #7D1A3D #6E7D1A #1A7D5B
split-complementary
#291A7D #7D5B1A #3D7D1A
monochromatic
#080519 #180F4A #291A7D #3A25B0 #533BD6
Accessibility & contrast
On white
13.65
#291A7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#291A7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291A7D
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291A7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291A7D | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#002A7B
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #291a7d; /* rgb */ color: rgb(41, 26, 125); /* oklch */ color: oklch(31.6% 0.155 279.6);
Tailwind
colors: {
custom: {
50: '#6f59a4',
500: '#291a7d',
950: '#000000',
},
}SCSS
$custom: #291a7d; $custom-light: #6f59a4; $custom-dark: #000000;
JSON
{
"hex": "#291a7d",
"rgb": {
"r": 41,
"g": 26,
"b": 125
},
"hsl": {
"h": 249.091,
"s": 65.563,
"l": 29.608
},
"oklch": {
"l": 0.31612,
"c": 0.15548,
"h": 279.6
},
"luminance": 0.02691
}Semantic roles & 50–950 ramp
primary
#291A7D
secondary
#A0B142
accent
#E93FCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F