#291A79#291A79
#291A79 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.150 H 280.3°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).
Color values
| HEX | #291A79 |
|---|---|
| RGB | rgb(41, 26, 121) |
| HSL | hsl(249, 65%, 29%) |
| HSV | hsv(249, 79%, 47%) |
| CMYK | cmyk(66.1%, 78.5%, 0%, 52.5%) |
| CIE-LAB | lab(18.32, 36.02, -51.27) |
| CIE-LCH | lch(18.32, 62.66, 305.09°) |
| OKLab | oklab(31.18% 0.027 -0.148) |
| OKLCH | oklch(31.18% 0.15 280.3) |
| XYZ | xyz(4.7339, 2.5903, 18.3360) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.44
Royal
#0C1793
ΔE00 4.48
Indigo (survey)
#380282
ΔE00 4.64
Dark Royal Blue
#02066F
ΔE00 4.96
Deep Blue
#040273
ΔE00 5.24
Navy
#000080
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291A79 #6A791A
analogous
#1A3B79 #291A79 #591A79
triadic
#291A79 #79291A #1A7929
tetradic
#291A79 #791A3B #6A791A #1A7959
square
#291A79 #791A3B #6A791A #1A7959
split-complementary
#291A79 #79591A #3B791A
monochromatic
#090519 #180F47 #291A79 #3A25AB #5239D4
Accessibility & contrast
On white
13.83
#291A79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#291A79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291A79
13.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291A79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291A79 | 1.00 | 13.83 | 1.52 | 13.83 |
| #FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #291a79; /* rgb */ color: rgb(41, 26, 121); /* oklch */ color: oklch(31.2% 0.150 280.3);
Tailwind
colors: {
custom: {
50: '#6f59a1',
500: '#291a79',
950: '#000000',
},
}SCSS
$custom: #291a79; $custom-light: #6f59a1; $custom-dark: #000000;
JSON
{
"hex": "#291a79",
"rgb": {
"r": 41,
"g": 26,
"b": 121
},
"hsl": {
"h": 249.474,
"s": 64.626,
"l": 28.824
},
"oklch": {
"l": 0.31175,
"c": 0.1504,
"h": 280.3
},
"luminance": 0.02591
}Semantic roles & 50–950 ramp
primary
#291A79
secondary
#9CAD41
accent
#E840CD
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F