#291A7B#291A7B
#291A7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.153 H 280.0°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #291A7B |
|---|---|
| RGB | rgb(41, 26, 123) |
| HSL | hsl(249, 65%, 29%) |
| HSV | hsv(249, 79%, 48%) |
| CMYK | cmyk(66.7%, 78.9%, 0%, 51.8%) |
| CIE-LAB | lab(18.54, 36.68, -52.19) |
| CIE-LCH | lch(18.54, 63.79, 305.10°) |
| OKLab | oklab(31.39% 0.0264 -0.1506) |
| OKLCH | oklch(31.39% 0.153 280) |
| XYZ | xyz(4.8579, 2.6399, 18.9886) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.63
Royal
#0C1793
ΔE00 4.19
Indigo (survey)
#380282
ΔE00 4.52
Dark Royal Blue
#02066F
ΔE00 5.01
Deep Blue
#040273
ΔE00 5.25
Navy
#000080
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291A7B #6C7B1A
analogous
#1A3C7B #291A7B #5A1A7B
triadic
#291A7B #7B291A #1A7B29
tetradic
#291A7B #7B1A3C #6C7B1A #1A7B5A
square
#291A7B #7B1A3C #6C7B1A #1A7B5A
split-complementary
#291A7B #7B5A1A #3C7B1A
monochromatic
#080519 #180F48 #291A7B #3A25AE #523AD5
Accessibility & contrast
On white
13.74
#291A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#291A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291A7B
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291A7B | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #291a7b; /* rgb */ color: rgb(41, 26, 123); /* oklch */ color: oklch(31.4% 0.153 280.0);
Tailwind
colors: {
custom: {
50: '#6f59a2',
500: '#291a7b',
950: '#000000',
},
}SCSS
$custom: #291a7b; $custom-light: #6f59a2; $custom-dark: #000000;
JSON
{
"hex": "#291a7b",
"rgb": {
"r": 41,
"g": 26,
"b": 123
},
"hsl": {
"h": 249.278,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.31393,
"c": 0.15294,
"h": 280
},
"luminance": 0.0264
}Semantic roles & 50–950 ramp
primary
#291A7B
secondary
#9EAF42
accent
#E840CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F