#291C9F#291C9F
#291C9F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.195 H 274.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #291C9F |
|---|---|
| RGB | rgb(41, 28, 159) |
| HSL | hsl(246, 70%, 37%) |
| HSV | hsv(246, 82%, 62%) |
| CMYK | cmyk(74.2%, 82.4%, 0%, 37.6%) |
| CIE-LAB | lab(23.01, 47.11, -67.25) |
| CIE-LCH | lch(23.01, 82.11, 305.01°) |
| OKLab | oklab(35.72% 0.0155 -0.1945) |
| OKLCH | oklch(35.72% 0.195 274.6) |
| XYZ | xyz(7.5856, 3.8044, 33.1287) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.88
Indigo Blue
#3A18B1
ΔE00 3.15
Cobalt Blue
#030AA7
ΔE00 3.16
Royal Blue (survey)
#0504AA
ΔE00 3.60
Ultramarine
#2000B1
ΔE00 3.74
True Blue
#010FCC
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291C9F #929F1C
analogous
#1C519F #291C9F #6B1C9F
triadic
#291C9F #9F291C #1C9F29
tetradic
#291C9F #9F1C51 #929F1C #1C9F6B
square
#291C9F #9F1C51 #929F1C #1C9F6B
split-complementary
#291C9F #9F6B1C #519F1C
monochromatic
#0E0A37 #1C136B #291C9F #3625D3 #6254E1
Accessibility & contrast
On white
11.93
#291C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#291C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291C9F
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291C9F | 1.00 | 11.93 | 1.76 | 11.93 |
| #FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #291c9f; /* rgb */ color: rgb(41, 28, 159); /* oklch */ color: oklch(35.7% 0.195 274.6);
Tailwind
colors: {
custom: {
50: '#775dbd',
500: '#291c9f',
950: '#000000',
},
}SCSS
$custom: #291c9f; $custom-light: #775dbd; $custom-dark: #000000;
JSON
{
"hex": "#291c9f",
"rgb": {
"r": 41,
"g": 28,
"b": 159
},
"hsl": {
"h": 245.954,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.35723,
"c": 0.19509,
"h": 274.6
},
"luminance": 0.03805
}Semantic roles & 50–950 ramp
primary
#291C9F
secondary
#B9C453
accent
#ED3BDB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981