#291E7A#291E7A
#291E7A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.147 H 279.3°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #291E7A |
|---|---|
| RGB | rgb(41, 30, 122) |
| HSL | hsl(247, 61%, 30%) |
| HSV | hsv(247, 75%, 48%) |
| CMYK | cmyk(66.4%, 75.4%, 0%, 52.2%) |
| CIE-LAB | lab(19.24, 34.06, -50.39) |
| CIE-LCH | lch(19.24, 60.82, 304.05°) |
| OKLab | oklab(31.86% 0.0239 -0.1454) |
| OKLCH | oklch(31.86% 0.147 279.3) |
| XYZ | xyz(4.8905, 2.8047, 18.6922) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.50
Royal
#0C1793
ΔE00 4.60
Indigo (survey)
#380282
ΔE00 5.48
Dark Royal Blue
#02066F
ΔE00 5.71
Deep Blue
#040273
ΔE00 6.06
Navy
#000080
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291E7A #6F7A1E
analogous
#1E417A #291E7A #571E7A
triadic
#291E7A #7A291E #1E7A29
tetradic
#291E7A #7A1E41 #6F7A1E #1E7A57
square
#291E7A #7A1E41 #6F7A1E #1E7A57
split-complementary
#291E7A #7A571E #417A1E
monochromatic
#080619 #181249 #291E7A #3A2AAB #5342D0
Accessibility & contrast
On white
13.45
#291E7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#291E7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291E7A
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291E7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291E7A | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #291e7a; /* rgb */ color: rgb(41, 30, 122); /* oklch */ color: oklch(31.9% 0.147 279.3);
Tailwind
colors: {
custom: {
50: '#6e5ba1',
500: '#291e7a',
950: '#000000',
},
}SCSS
$custom: #291e7a; $custom-light: #6e5ba1; $custom-dark: #000000;
JSON
{
"hex": "#291e7a",
"rgb": {
"r": 41,
"g": 30,
"b": 122
},
"hsl": {
"h": 247.174,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.31859,
"c": 0.14738,
"h": 279.3
},
"luminance": 0.02805
}Semantic roles & 50–950 ramp
primary
#291E7A
secondary
#A1AE46
accent
#E444D1
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F