#291F9C#291F9C
#291F9C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.189 H 274.6°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #291F9C |
|---|---|
| RGB | rgb(41, 31, 156) |
| HSL | hsl(245, 67%, 37%) |
| HSV | hsv(245, 80%, 61%) |
| CMYK | cmyk(73.7%, 80.1%, 0%, 38.8%) |
| CIE-LAB | lab(23.17, 44.68, -65.15) |
| CIE-LCH | lch(23.17, 79.01, 304.44°) |
| OKLab | oklab(35.73% 0.0152 -0.1884) |
| OKLCH | oklch(35.73% 0.189 274.6) |
| XYZ | xyz(7.4032, 3.8510, 31.7992) |
| Luminance | 0.0385 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.85
Indigo Blue
#3A18B1
ΔE00 3.64
Cobalt Blue
#030AA7
ΔE00 3.74
Royal Blue (survey)
#0504AA
ΔE00 4.23
Ultramarine
#2000B1
ΔE00 4.46
Darkblue
#00008B
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291F9C #929C1F
analogous
#1F549C #291F9C #681F9C
triadic
#291F9C #9C291F #1F9C29
tetradic
#291F9C #9C1F54 #929C1F #1F9C68
square
#291F9C #9C1F54 #929C1F #1F9C68
split-complementary
#291F9C #9C681F #549C1F
monochromatic
#0E0B36 #1C1569 #291F9C #3629CF #6258DE
Accessibility & contrast
On white
11.86
#291F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#291F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291F9C
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291F9C | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00319A
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #291f9c; /* rgb */ color: rgb(41, 31, 156); /* oklch */ color: oklch(35.7% 0.189 274.6);
Tailwind
colors: {
custom: {
50: '#765ebb',
500: '#291f9c',
950: '#000000',
},
}SCSS
$custom: #291f9c; $custom-light: #765ebb; $custom-dark: #000000;
JSON
{
"hex": "#291f9c",
"rgb": {
"r": 41,
"g": 31,
"b": 156
},
"hsl": {
"h": 244.8,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.35731,
"c": 0.18904,
"h": 274.6
},
"luminance": 0.03852
}Semantic roles & 50–950 ramp
primary
#291F9C
secondary
#B9C155
accent
#EA3EDC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981