#3E408F#3E408F
#3E408F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.128 H 278.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #3E408F |
|---|---|
| RGB | rgb(62, 64, 143) |
| HSL | hsl(239, 40%, 40%) |
| HSV | hsv(239, 57%, 56%) |
| CMYK | cmyk(56.6%, 55.2%, 0%, 43.9%) |
| CIE-LAB | lab(31.05, 23.18, -44.23) |
| CIE-LCH | lch(31.05, 49.94, 297.66°) |
| OKLab | oklab(41.48% 0.0182 -0.1266) |
| OKLCH | oklch(41.48% 0.128 278.2) |
| XYZ | xyz(8.7764, 6.6735, 26.8069) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.81
Darkslateblue
#483D8B
ΔE00 2.73
Sapphire (survey)
#2138AB
ΔE00 5.84
Twilight
#4E518B
ΔE00 6.21
Ocean Blue
#4F42B5
ΔE00 6.54
Cobalt (survey)
#1E488F
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E408F #8F8D3E
analogous
#3E688F #3E408F #653E8F
triadic
#3E408F #8F3E40 #408F3E
tetradic
#3E408F #8F3E68 #8F8D3E #3E8F65
square
#3E408F #8F3E68 #8F8D3E #3E8F65
split-complementary
#3E408F #8F653E #688F3E
monochromatic
#191A3A #2B2D64 #3E408F #5557B5 #8081C8
Accessibility & contrast
On white
8.99
#3E408F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#3E408F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E408F
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E408F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E408F | 1.00 | 8.99 | 2.33 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#104C92
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#155261
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #3e408f; /* rgb */ color: rgb(62, 64, 143); /* oklch */ color: oklch(41.5% 0.128 278.2);
Tailwind
colors: {
custom: {
50: '#7b74b0',
500: '#3e408f',
950: '#000000',
},
}SCSS
$custom: #3e408f; $custom-light: #7b74b0; $custom-dark: #000000;
JSON
{
"hex": "#3e408f",
"rgb": {
"r": 62,
"g": 64,
"b": 143
},
"hsl": {
"h": 238.519,
"s": 39.512,
"l": 40.196
},
"oklch": {
"l": 0.41481,
"c": 0.12785,
"h": 278.2
},
"luminance": 0.06674
}Semantic roles & 50–950 ramp
primary
#3E408F
secondary
#B2B077
accent
#CC58CF
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F