#3E388E#3E388E
#3E388E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.138 H 281.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3E388E |
|---|---|
| RGB | rgb(62, 56, 142) |
| HSL | hsl(244, 43%, 39%) |
| HSV | hsv(244, 61%, 56%) |
| CMYK | cmyk(56.3%, 60.6%, 0%, 44.3%) |
| CIE-LAB | lab(28.92, 28.07, -47.07) |
| CIE-LCH | lch(28.92, 54.80, 300.81°) |
| OKLab | oklab(39.87% 0.0269 -0.135) |
| OKLCH | oklch(39.87% 0.138 281.3) |
| XYZ | xyz(8.2818, 5.8050, 26.2700) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.40
Blueberry
#464196
ΔE00 2.82
Sapphire (survey)
#2138AB
ΔE00 5.54
Ocean Blue
#4F42B5
ΔE00 6.68
Rebeccapurple
#663399
ΔE00 8.20
Twilight
#4E518B
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E388E #888E38
analogous
#385D8E #3E388E #69388E
triadic
#3E388E #8E3E38 #388E3E
tetradic
#3E388E #8E385D #888E38 #388E69
square
#3E388E #8E385D #888E38 #388E69
split-complementary
#3E388E #8E6938 #5D8E38
monochromatic
#181536 #2B2762 #3E388E #534BB8 #7D77C9
Accessibility & contrast
On white
9.72
#3E388E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#3E388E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E388E
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E388E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E388E | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#184C5D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3e388e; /* rgb */ color: rgb(62, 56, 142); /* oklch */ color: oklch(39.9% 0.138 281.3);
Tailwind
colors: {
custom: {
50: '#7b6fb0',
500: '#3e388e',
950: '#000000',
},
}SCSS
$custom: #3e388e; $custom-light: #7b6fb0; $custom-dark: #000000;
JSON
{
"hex": "#3e388e",
"rgb": {
"r": 62,
"g": 56,
"b": 142
},
"hsl": {
"h": 244.186,
"s": 43.434,
"l": 38.824
},
"oklch": {
"l": 0.39871,
"c": 0.13764,
"h": 281.3
},
"luminance": 0.05805
}Semantic roles & 50–950 ramp
primary
#3E388E
secondary
#AEB26F
accent
#D355CA
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0710
muted
#7C7A7F