#291E7B#291E7B
#291E7B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.149 H 279.2°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).
Color values
| HEX | #291E7B |
|---|---|
| RGB | rgb(41, 30, 123) |
| HSL | hsl(247, 61%, 30%) |
| HSV | hsv(247, 76%, 48%) |
| CMYK | cmyk(66.7%, 75.6%, 0%, 51.8%) |
| CIE-LAB | lab(19.35, 34.39, -50.86) |
| CIE-LCH | lch(19.35, 61.39, 304.07°) |
| OKLab | oklab(31.96% 0.0237 -0.1468) |
| OKLCH | oklch(31.96% 0.149 279.2) |
| XYZ | xyz(4.9527, 2.8296, 19.0202) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.59
Royal
#0C1793
ΔE00 4.45
Indigo (survey)
#380282
ΔE00 5.42
Dark Royal Blue
#02066F
ΔE00 5.72
Deep Blue
#040273
ΔE00 6.06
Navy
#000080
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291E7B #707B1E
analogous
#1E417B #291E7B #581E7B
triadic
#291E7B #7B291E #1E7B29
tetradic
#291E7B #7B1E41 #707B1E #1E7B58
square
#291E7B #7B1E41 #707B1E #1E7B58
split-complementary
#291E7B #7B581E #417B1E
monochromatic
#080619 #19124A #291E7B #392AAC #5342D1
Accessibility & contrast
On white
13.41
#291E7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#291E7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291E7B
13.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291E7B | 1.00 | 13.41 | 1.57 | 13.41 |
| #FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #291e7b; /* rgb */ color: rgb(41, 30, 123); /* oklch */ color: oklch(32.0% 0.149 279.2);
Tailwind
colors: {
custom: {
50: '#6f5ba2',
500: '#291e7b',
950: '#000000',
},
}SCSS
$custom: #291e7b; $custom-light: #6f5ba2; $custom-dark: #000000;
JSON
{
"hex": "#291e7b",
"rgb": {
"r": 41,
"g": 30,
"b": 123
},
"hsl": {
"h": 247.097,
"s": 60.784,
"l": 30
},
"oklch": {
"l": 0.31964,
"c": 0.14869,
"h": 279.2
},
"luminance": 0.0283
}Semantic roles & 50–950 ramp
primary
#291E7B
secondary
#A2AE46
accent
#E444D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F