#3E398E#3E398E
#3E398E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.136 H 280.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3E398E |
|---|---|
| RGB | rgb(62, 57, 142) |
| HSL | hsl(244, 43%, 39%) |
| HSV | hsv(244, 60%, 56%) |
| CMYK | cmyk(56.3%, 59.9%, 0%, 44.3%) |
| CIE-LAB | lab(29.17, 27.42, -46.66) |
| CIE-LCH | lch(29.17, 54.12, 300.44°) |
| OKLab | oklab(40.06% 0.0259 -0.1338) |
| OKLCH | oklch(40.06% 0.136 280.9) |
| XYZ | xyz(8.3307, 5.9029, 26.2863) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.27
Blueberry
#464196
ΔE00 2.58
Sapphire (survey)
#2138AB
ΔE00 5.54
Ocean Blue
#4F42B5
ΔE00 6.63
Twilight
#4E518B
ΔE00 8.17
Rebeccapurple
#663399
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E398E #898E39
analogous
#395F8E #3E398E #69398E
triadic
#3E398E #8E3E39 #398E3E
tetradic
#3E398E #8E395F #898E39 #398E69
square
#3E398E #8E395F #898E39 #398E69
split-complementary
#3E398E #8E6939 #5F8E39
monochromatic
#181637 #2B2762 #3E398E #534DB7 #7D78C9
Accessibility & contrast
On white
9.63
#3E398E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#3E398E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E398E
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E398E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E398E | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#184D5E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #3e398e; /* rgb */ color: rgb(62, 57, 142); /* oklch */ color: oklch(40.1% 0.136 280.9);
Tailwind
colors: {
custom: {
50: '#7b6fb0',
500: '#3e398e',
950: '#000000',
},
}SCSS
$custom: #3e398e; $custom-light: #7b6fb0; $custom-dark: #000000;
JSON
{
"hex": "#3e398e",
"rgb": {
"r": 62,
"g": 57,
"b": 142
},
"hsl": {
"h": 243.529,
"s": 42.714,
"l": 39.02
},
"oklch": {
"l": 0.40056,
"c": 0.13626,
"h": 280.9
},
"luminance": 0.05903
}Semantic roles & 50–950 ramp
primary
#3E398E
secondary
#AEB271
accent
#D255CB
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0710
muted
#7C7A7F