#291A7A#291A7A
#291A7A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.152 H 280.1°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #291A7A |
|---|---|
| RGB | rgb(41, 26, 122) |
| HSL | hsl(249, 65%, 29%) |
| HSV | hsv(249, 79%, 48%) |
| CMYK | cmyk(66.4%, 78.7%, 0%, 52.2%) |
| CIE-LAB | lab(18.43, 36.35, -51.73) |
| CIE-LCH | lch(18.43, 63.22, 305.10°) |
| OKLab | oklab(31.28% 0.0267 -0.1493) |
| OKLCH | oklch(31.28% 0.152 280.1) |
| XYZ | xyz(4.7956, 2.6150, 18.6606) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.53
Royal
#0C1793
ΔE00 4.33
Indigo (survey)
#380282
ΔE00 4.58
Dark Royal Blue
#02066F
ΔE00 4.98
Deep Blue
#040273
ΔE00 5.24
Navy
#000080
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291A7A #6B7A1A
analogous
#1A3B7A #291A7A #591A7A
triadic
#291A7A #7A291A #1A7A29
tetradic
#291A7A #7A1A3B #6B7A1A #1A7A59
square
#291A7A #7A1A3B #6B7A1A #1A7A59
split-complementary
#291A7A #7A591A #3B7A1A
monochromatic
#080519 #180F48 #291A7A #3A25AC #5239D5
Accessibility & contrast
On white
13.79
#291A7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#291A7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291A7A
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291A7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291A7A | 1.00 | 13.79 | 1.52 | 13.79 |
| #FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #291a7a; /* rgb */ color: rgb(41, 26, 122); /* oklch */ color: oklch(31.3% 0.152 280.1);
Tailwind
colors: {
custom: {
50: '#6f59a1',
500: '#291a7a',
950: '#000000',
},
}SCSS
$custom: #291a7a; $custom-light: #6f59a1; $custom-dark: #000000;
JSON
{
"hex": "#291a7a",
"rgb": {
"r": 41,
"g": 26,
"b": 122
},
"hsl": {
"h": 249.375,
"s": 64.865,
"l": 29.02
},
"oklch": {
"l": 0.31284,
"c": 0.15168,
"h": 280.1
},
"luminance": 0.02615
}Semantic roles & 50–950 ramp
primary
#291A7A
secondary
#9DAE41
accent
#E840CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F