#3E2F98#3E2F98
#3E2F98 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.163 H 282.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2F98 |
|---|---|
| RGB | rgb(62, 47, 152) |
| HSL | hsl(249, 53%, 39%) |
| HSV | hsv(249, 69%, 60%) |
| CMYK | cmyk(59.2%, 69.1%, 0%, 40.4%) |
| CIE-LAB | lab(27.64, 36.97, -55.29) |
| CIE-LCH | lch(27.64, 66.52, 303.77°) |
| OKLab | oklab(39.2% 0.0348 -0.1592) |
| OKLCH | oklch(39.2% 0.163 282.3) |
| XYZ | xyz(8.6689, 5.3236, 30.2704) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.12
Sapphire (survey)
#2138AB
ΔE00 5.22
Blueberry
#464196
ΔE00 5.28
Indigo Blue
#3A18B1
ΔE00 5.69
Ocean Blue
#4F42B5
ΔE00 6.62
Royal
#0C1793
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2F98 #89982F
analogous
#2F5598 #3E2F98 #732F98
triadic
#3E2F98 #983E2F #2F983E
tetradic
#3E2F98 #982F55 #89982F #2F9873
square
#3E2F98 #982F55 #89982F #2F9873
split-complementary
#3E2F98 #98732F #55982F
monochromatic
#18123B #2B2169 #3E2F98 #5340C4 #7D6FD2
Accessibility & contrast
On white
10.17
#3E2F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#3E2F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2F98
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2F98 | 1.00 | 10.17 | 2.06 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#074A5F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3e2f98; /* rgb */ color: rgb(62, 47, 152); /* oklch */ color: oklch(39.2% 0.163 282.3);
Tailwind
colors: {
custom: {
50: '#7d69b7',
500: '#3e2f98',
950: '#000000',
},
}SCSS
$custom: #3e2f98; $custom-light: #7d69b7; $custom-dark: #000000;
JSON
{
"hex": "#3e2f98",
"rgb": {
"r": 62,
"g": 47,
"b": 152
},
"hsl": {
"h": 248.571,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.39201,
"c": 0.16294,
"h": 282.3
},
"luminance": 0.05324
}Semantic roles & 50–950 ramp
primary
#3E2F98
secondary
#AEBA69
accent
#DC4CC8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80