#3E2F95#3E2F95
#3E2F95 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.159 H 282.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2F95 |
|---|---|
| RGB | rgb(62, 47, 149) |
| HSL | hsl(249, 52%, 38%) |
| HSV | hsv(249, 68%, 58%) |
| CMYK | cmyk(58.4%, 68.5%, 0%, 41.6%) |
| CIE-LAB | lab(27.37, 36.00, -53.89) |
| CIE-LCH | lch(27.37, 64.81, 303.75°) |
| OKLab | oklab(38.93% 0.0353 -0.1551) |
| OKLCH | oklch(38.93% 0.159 282.8) |
| XYZ | xyz(8.4263, 5.2266, 28.9928) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.87
Blueberry
#464196
ΔE00 5.21
Sapphire (survey)
#2138AB
ΔE00 5.48
Indigo Blue
#3A18B1
ΔE00 6.02
Royal
#0C1793
ΔE00 6.81
Ocean Blue
#4F42B5
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2F95 #86952F
analogous
#2F5395 #3E2F95 #712F95
triadic
#3E2F95 #953E2F #2F953E
tetradic
#3E2F95 #952F53 #86952F #2F9571
square
#3E2F95 #952F53 #86952F #2F9571
split-complementary
#3E2F95 #95712F #53952F
monochromatic
#171238 #2B2066 #3E2F95 #523FC2 #7C6DD1
Accessibility & contrast
On white
10.27
#3E2F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#3E2F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2F95
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2F95 | 1.00 | 10.27 | 2.05 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#0E495E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3e2f95; /* rgb */ color: rgb(62, 47, 149); /* oklch */ color: oklch(38.9% 0.159 282.8);
Tailwind
colors: {
custom: {
50: '#7d69b5',
500: '#3e2f95',
950: '#000000',
},
}SCSS
$custom: #3e2f95; $custom-light: #7d69b5; $custom-dark: #000000;
JSON
{
"hex": "#3e2f95",
"rgb": {
"r": 62,
"g": 47,
"b": 149
},
"hsl": {
"h": 248.824,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.38926,
"c": 0.15903,
"h": 282.8
},
"luminance": 0.05227
}Semantic roles & 50–950 ramp
primary
#3E2F95
secondary
#ACB867
accent
#DB4CC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80