#3E2F8D#3E2F8D
#3E2F8D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.148 H 284.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2F8D |
|---|---|
| RGB | rgb(62, 47, 141) |
| HSL | hsl(250, 50%, 37%) |
| HSV | hsv(250, 67%, 55%) |
| CMYK | cmyk(56%, 66.7%, 0%, 44.7%) |
| CIE-LAB | lab(26.68, 33.42, -50.09) |
| CIE-LCH | lch(26.68, 60.21, 303.71°) |
| OKLab | oklab(38.21% 0.0363 -0.1439) |
| OKLCH | oklch(38.21% 0.148 284.2) |
| XYZ | xyz(7.8094, 4.9798, 25.7438) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.34
Blueberry
#464196
ΔE00 5.21
Sapphire (survey)
#2138AB
ΔE00 6.33
Indigo Blue
#3A18B1
ΔE00 7.02
Royal
#0C1793
ΔE00 7.09
Rebeccapurple
#663399
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2F8D #7E8D2F
analogous
#2F4F8D #3E2F8D #6D2F8D
triadic
#3E2F8D #8D3E2F #2F8D3E
tetradic
#3E2F8D #8D2F4F #7E8D2F #2F8D6D
square
#3E2F8D #8D2F4F #7E8D2F #2F8D6D
split-complementary
#3E2F8D #8D6D2F #4F8D2F
monochromatic
#161031 #2A205F #3E2F8D #523EBB #7969CD
Accessibility & contrast
On white
10.52
#3E2F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#3E2F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2F8D
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2F8D | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#1B4659
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3e2f8d; /* rgb */ color: rgb(62, 47, 141); /* oklch */ color: oklch(38.2% 0.148 284.2);
Tailwind
colors: {
custom: {
50: '#7b68af',
500: '#3e2f8d',
950: '#000000',
},
}SCSS
$custom: #3e2f8d; $custom-light: #7b68af; $custom-dark: #000000;
JSON
{
"hex": "#3e2f8d",
"rgb": {
"r": 62,
"g": 47,
"b": 141
},
"hsl": {
"h": 249.574,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.3821,
"c": 0.14842,
"h": 284.2
},
"luminance": 0.0498
}Semantic roles & 50–950 ramp
primary
#3E2F8D
secondary
#A7B464
accent
#DA4EC3
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F