#3E2F99#3E2F99
#3E2F99 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.164 H 282.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2F99 |
|---|---|
| RGB | rgb(62, 47, 153) |
| HSL | hsl(248, 53%, 39%) |
| HSV | hsv(248, 69%, 60%) |
| CMYK | cmyk(59.5%, 69.3%, 0%, 40%) |
| CIE-LAB | lab(27.73, 37.30, -55.76) |
| CIE-LCH | lch(27.73, 67.08, 303.78°) |
| OKLab | oklab(39.29% 0.0347 -0.1605) |
| OKLCH | oklch(39.29% 0.164 282.2) |
| XYZ | xyz(8.7511, 5.3565, 30.7036) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.15
Darkslateblue
#483D8B
ΔE00 5.21
Blueberry
#464196
ΔE00 5.31
Indigo Blue
#3A18B1
ΔE00 5.59
Ocean Blue
#4F42B5
ΔE00 6.53
Royal
#0C1793
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2F99 #8A992F
analogous
#2F5599 #3E2F99 #732F99
triadic
#3E2F99 #993E2F #2F993E
tetradic
#3E2F99 #992F55 #8A992F #2F9973
square
#3E2F99 #992F55 #8A992F #2F9973
split-complementary
#3E2F99 #99732F #55992F
monochromatic
#18123B #2B216A #3E2F99 #5341C5 #7E6FD3
Accessibility & contrast
On white
10.14
#3E2F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#3E2F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2F99
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2F99 | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#044B60
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3e2f99; /* rgb */ color: rgb(62, 47, 153); /* oklch */ color: oklch(39.3% 0.164 282.2);
Tailwind
colors: {
custom: {
50: '#7e69b8',
500: '#3e2f99',
950: '#000000',
},
}SCSS
$custom: #3e2f99; $custom-light: #7e69b8; $custom-dark: #000000;
JSON
{
"hex": "#3e2f99",
"rgb": {
"r": 62,
"g": 47,
"b": 153
},
"hsl": {
"h": 248.491,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.39293,
"c": 0.16424,
"h": 282.2
},
"luminance": 0.05357
}Semantic roles & 50–950 ramp
primary
#3E2F99
secondary
#AFBA69
accent
#DC4BC8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80