#291E98#291E98
#291E98 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.185 H 275.2°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #291E98 |
|---|---|
| RGB | rgb(41, 30, 152) |
| HSL | hsl(245, 67%, 36%) |
| HSV | hsv(245, 80%, 60%) |
| CMYK | cmyk(73%, 80.3%, 0%, 40.4%) |
| CIE-LAB | lab(22.54, 43.92, -63.75) |
| CIE-LCH | lch(22.54, 77.42, 304.56°) |
| OKLab | oklab(35.15% 0.0166 -0.1844) |
| OKLCH | oklch(35.15% 0.185 275.2) |
| XYZ | xyz(7.0444, 3.6663, 30.0361) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.51
Cobalt Blue
#030AA7
ΔE00 3.80
Indigo Blue
#3A18B1
ΔE00 4.07
Royal Blue (survey)
#0504AA
ΔE00 4.31
Ultramarine
#2000B1
ΔE00 4.65
Darkblue
#00008B
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291E98 #8D981E
analogous
#1E5098 #291E98 #661E98
triadic
#291E98 #98291E #1E9829
tetradic
#291E98 #981E50 #8D981E #1E9866
square
#291E98 #981E50 #8D981E #1E9866
split-complementary
#291E98 #98661E #50981E
monochromatic
#0D0A32 #1B1465 #291E98 #3728CB #6053DD
Accessibility & contrast
On white
12.11
#291E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#291E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291E98
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291E98 | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9B
Deuteranopia (green-blind)
#003096
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #291e98; /* rgb */ color: rgb(41, 30, 152); /* oklch */ color: oklch(35.2% 0.185 275.2);
Tailwind
colors: {
custom: {
50: '#755db8',
500: '#291e98',
950: '#000000',
},
}SCSS
$custom: #291e98; $custom-light: #755db8; $custom-dark: #000000;
JSON
{
"hex": "#291e98",
"rgb": {
"r": 41,
"g": 30,
"b": 152
},
"hsl": {
"h": 245.41,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.35152,
"c": 0.1851,
"h": 275.2
},
"luminance": 0.03667
}Semantic roles & 50–950 ramp
primary
#291E98
secondary
#B6C051
accent
#EA3EDA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980