#3E2F96#3E2F96
#3E2F96 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.160 H 282.7°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2F96 |
|---|---|
| RGB | rgb(62, 47, 150) |
| HSL | hsl(249, 52%, 39%) |
| HSV | hsv(249, 69%, 59%) |
| CMYK | cmyk(58.7%, 68.7%, 0%, 41.2%) |
| CIE-LAB | lab(27.46, 36.33, -54.36) |
| CIE-LCH | lch(27.46, 65.38, 303.75°) |
| OKLab | oklab(39.02% 0.0351 -0.1564) |
| OKLCH | oklch(39.02% 0.16 282.7) |
| XYZ | xyz(8.5064, 5.2586, 29.4150) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.95
Blueberry
#464196
ΔE00 5.23
Sapphire (survey)
#2138AB
ΔE00 5.39
Indigo Blue
#3A18B1
ΔE00 5.91
Royal
#0C1793
ΔE00 6.80
Ocean Blue
#4F42B5
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2F96 #87962F
analogous
#2F5396 #3E2F96 #712F96
triadic
#3E2F96 #963E2F #2F963E
tetradic
#3E2F96 #962F53 #87962F #2F9671
square
#3E2F96 #962F53 #87962F #2F9671
split-complementary
#3E2F96 #96712F #53962F
monochromatic
#171239 #2B2067 #3E2F96 #523FC3 #7C6ED2
Accessibility & contrast
On white
10.23
#3E2F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#3E2F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2F96
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2F96 | 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)
#004499
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#0C4A5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3e2f96; /* rgb */ color: rgb(62, 47, 150); /* oklch */ color: oklch(39.0% 0.160 282.7);
Tailwind
colors: {
custom: {
50: '#7d69b6',
500: '#3e2f96',
950: '#000000',
},
}SCSS
$custom: #3e2f96; $custom-light: #7d69b6; $custom-dark: #000000;
JSON
{
"hex": "#3e2f96",
"rgb": {
"r": 62,
"g": 47,
"b": 150
},
"hsl": {
"h": 248.738,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.39017,
"c": 0.16033,
"h": 282.7
},
"luminance": 0.05259
}Semantic roles & 50–950 ramp
primary
#3E2F96
secondary
#ADB968
accent
#DC4CC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80