#3E2F94#3E2F94
#3E2F94 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.158 H 283.0°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2F94 |
|---|---|
| RGB | rgb(62, 47, 148) |
| HSL | hsl(249, 52%, 38%) |
| HSV | hsv(249, 68%, 58%) |
| CMYK | cmyk(58.1%, 68.2%, 0%, 42%) |
| CIE-LAB | lab(27.28, 35.68, -53.42) |
| CIE-LCH | lch(27.28, 64.24, 303.74°) |
| OKLab | oklab(38.83% 0.0354 -0.1537) |
| OKLCH | oklch(38.83% 0.158 283) |
| XYZ | xyz(8.3468, 5.1948, 28.5741) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.80
Blueberry
#464196
ΔE00 5.20
Sapphire (survey)
#2138AB
ΔE00 5.58
Indigo Blue
#3A18B1
ΔE00 6.14
Royal
#0C1793
ΔE00 6.83
Ocean Blue
#4F42B5
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2F94 #85942F
analogous
#2F5294 #3E2F94 #702F94
triadic
#3E2F94 #943E2F #2F943E
tetradic
#3E2F94 #942F52 #85942F #2F9470
square
#3E2F94 #942F52 #85942F #2F9470
split-complementary
#3E2F94 #94702F #52942F
monochromatic
#171137 #2B2066 #3E2F94 #523EC2 #7C6DD1
Accessibility & contrast
On white
10.30
#3E2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#3E2F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2F94
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2F94 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#10495D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3e2f94; /* rgb */ color: rgb(62, 47, 148); /* oklch */ color: oklch(38.8% 0.158 283.0);
Tailwind
colors: {
custom: {
50: '#7d69b4',
500: '#3e2f94',
950: '#000000',
},
}SCSS
$custom: #3e2f94; $custom-light: #7d69b4; $custom-dark: #000000;
JSON
{
"hex": "#3e2f94",
"rgb": {
"r": 62,
"g": 47,
"b": 148
},
"hsl": {
"h": 248.911,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.38835,
"c": 0.15771,
"h": 283
},
"luminance": 0.05195
}Semantic roles & 50–950 ramp
primary
#3E2F94
secondary
#ACB867
accent
#DB4DC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80