#3E3191#3E3191
#3E3191 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.151 H 283.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #3E3191 |
|---|---|
| RGB | rgb(62, 49, 145) |
| HSL | hsl(248, 49%, 38%) |
| HSV | hsv(248, 66%, 57%) |
| CMYK | cmyk(57.2%, 66.2%, 0%, 43.1%) |
| CIE-LAB | lab(27.48, 33.49, -51.26) |
| CIE-LCH | lch(27.48, 61.23, 303.16°) |
| OKLab | oklab(38.9% 0.0339 -0.1473) |
| OKLCH | oklch(38.9% 0.151 283) |
| XYZ | xyz(8.1942, 5.2646, 27.3670) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.10
Blueberry
#464196
ΔE00 4.64
Sapphire (survey)
#2138AB
ΔE00 5.63
Indigo Blue
#3A18B1
ΔE00 6.92
Ocean Blue
#4F42B5
ΔE00 7.02
Royal
#0C1793
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E3191 #849131
analogous
#315491 #3E3191 #6E3191
triadic
#3E3191 #913E31 #31913E
tetradic
#3E3191 #913154 #849131 #31916E
square
#3E3191 #913154 #849131 #31916E
split-complementary
#3E3191 #916E31 #549131
monochromatic
#171236 #2A2263 #3E3191 #5241BF #7B6ECE
Accessibility & contrast
On white
10.23
#3E3191 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#3E3191 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E3191
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E3191 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E3191 | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#15495C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3e3191; /* rgb */ color: rgb(62, 49, 145); /* oklch */ color: oklch(38.9% 0.151 283.0);
Tailwind
colors: {
custom: {
50: '#7c6ab2',
500: '#3e3191',
950: '#000000',
},
}SCSS
$custom: #3e3191; $custom-light: #7c6ab2; $custom-dark: #000000;
JSON
{
"hex": "#3e3191",
"rgb": {
"r": 62,
"g": 49,
"b": 145
},
"hsl": {
"h": 248.125,
"s": 49.485,
"l": 38.039
},
"oklch": {
"l": 0.38895,
"c": 0.15118,
"h": 283
},
"luminance": 0.05265
}Semantic roles & 50–950 ramp
primary
#3E3191
secondary
#ABB668
accent
#D94FC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80