#291C98#291C98
#291C98 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.187 H 275.4°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #291C98 |
|---|---|
| RGB | rgb(41, 28, 152) |
| HSL | hsl(246, 69%, 35%) |
| HSV | hsv(246, 82%, 60%) |
| CMYK | cmyk(73%, 81.6%, 0%, 40.4%) |
| CIE-LAB | lab(22.19, 44.93, -64.33) |
| CIE-LCH | lch(22.19, 78.46, 304.93°) |
| OKLab | oklab(34.91% 0.0175 -0.186) |
| OKLCH | oklch(34.91% 0.187 275.4) |
| XYZ | xyz(6.9953, 3.5682, 30.0198) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.35
Cobalt Blue
#030AA7
ΔE00 3.51
Indigo Blue
#3A18B1
ΔE00 4.00
Royal Blue (survey)
#0504AA
ΔE00 4.00
Ultramarine
#2000B1
ΔE00 4.36
Darkblue
#00008B
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291C98 #8B981C
analogous
#1C4D98 #291C98 #671C98
triadic
#291C98 #98291C #1C9829
tetradic
#291C98 #981C4D #8B981C #1C9867
square
#291C98 #981C4D #8B981C #1C9867
split-complementary
#291C98 #98671C #4D981C
monochromatic
#0D0931 #1B1264 #291C98 #3726CC #5F50DF
Accessibility & contrast
On white
12.25
#291C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#291C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291C98
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291C98 | 1.00 | 12.25 | 1.71 | 12.25 |
| #FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A9B
Deuteranopia (green-blind)
#002F96
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #291c98; /* rgb */ color: rgb(41, 28, 152); /* oklch */ color: oklch(34.9% 0.187 275.4);
Tailwind
colors: {
custom: {
50: '#765cb8',
500: '#291c98',
950: '#000000',
},
}SCSS
$custom: #291c98; $custom-light: #765cb8; $custom-dark: #000000;
JSON
{
"hex": "#291c98",
"rgb": {
"r": 41,
"g": 28,
"b": 152
},
"hsl": {
"h": 246.29,
"s": 68.889,
"l": 35.294
},
"oklch": {
"l": 0.34911,
"c": 0.18681,
"h": 275.4
},
"luminance": 0.03569
}Semantic roles & 50–950 ramp
primary
#291C98
secondary
#B5C14E
accent
#EC3CD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980