#291F95#291F95
#291F95 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.181 H 275.4°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #291F95 |
|---|---|
| RGB | rgb(41, 31, 149) |
| HSL | hsl(245, 66%, 35%) |
| HSV | hsv(245, 79%, 58%) |
| CMYK | cmyk(72.5%, 79.2%, 0%, 41.6%) |
| CIE-LAB | lab(22.38, 42.44, -62.17) |
| CIE-LCH | lch(22.38, 75.27, 304.32°) |
| OKLab | oklab(34.94% 0.0169 -0.1798) |
| OKLCH | oklch(34.94% 0.181 275.4) |
| XYZ | xyz(6.8275, 3.6207, 28.7670) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.51
Cobalt Blue
#030AA7
ΔE00 4.18
Indigo Blue
#3A18B1
ΔE00 4.51
Royal Blue (survey)
#0504AA
ΔE00 4.70
Ultramarine
#2000B1
ΔE00 5.11
Darkblue
#00008B
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291F95 #8B951F
analogous
#1F5095 #291F95 #641F95
triadic
#291F95 #95291F #1F9529
tetradic
#291F95 #951F50 #8B951F #1F9564
square
#291F95 #951F50 #8B951F #1F9564
split-complementary
#291F95 #95641F #50951F
monochromatic
#0D0A30 #1B1462 #291F95 #372AC8 #5F53DB
Accessibility & contrast
On white
12.18
#291F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#291F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291F95
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291F95 | 1.00 | 12.18 | 1.72 | 12.18 |
| #FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003093
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #291f95; /* rgb */ color: rgb(41, 31, 149); /* oklch */ color: oklch(34.9% 0.181 275.4);
Tailwind
colors: {
custom: {
50: '#755db5',
500: '#291f95',
950: '#000000',
},
}SCSS
$custom: #291f95; $custom-light: #755db5; $custom-dark: #000000;
JSON
{
"hex": "#291f95",
"rgb": {
"r": 41,
"g": 31,
"b": 149
},
"hsl": {
"h": 245.085,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.3494,
"c": 0.18056,
"h": 275.4
},
"luminance": 0.03621
}Semantic roles & 50–950 ramp
primary
#291F95
secondary
#B5BF51
accent
#E93FDA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980