#3E309F#3E309F
#3E309F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.171 H 281.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3E309F |
|---|---|
| RGB | rgb(62, 48, 159) |
| HSL | hsl(248, 54%, 41%) |
| HSV | hsv(248, 70%, 62%) |
| CMYK | cmyk(61%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(28.49, 38.64, -58.17) |
| CIE-LCH | lch(28.49, 69.84, 303.60°) |
| OKLab | oklab(40.01% 0.0329 -0.1676) |
| OKLCH | oklch(40.01% 0.171 281.1) |
| XYZ | xyz(9.2996, 5.6406, 33.3929) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.59
Indigo Blue
#3A18B1
ΔE00 5.27
Blueberry
#464196
ΔE00 5.31
Darkslateblue
#483D8B
ΔE00 5.58
Ocean Blue
#4F42B5
ΔE00 5.87
Blue With A Hint Of Purple
#533CC6
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E309F #919F30
analogous
#30599F #3E309F #76309F
triadic
#3E309F #9F3E30 #309F3E
tetradic
#3E309F #9F3059 #919F30 #309F76
square
#3E309F #9F3059 #919F30 #309F76
split-complementary
#3E309F #9F7630 #599F30
monochromatic
#191441 #2C2270 #3E309F #5645C7 #8074D5
Accessibility & contrast
On white
9.87
#3E309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#3E309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E309F
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E309F | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3e309f; /* rgb */ color: rgb(62, 48, 159); /* oklch */ color: oklch(40.0% 0.171 281.1);
Tailwind
colors: {
custom: {
50: '#7f6abc',
500: '#3e309f',
950: '#000000',
},
}SCSS
$custom: #3e309f; $custom-light: #7f6abc; $custom-dark: #000000;
JSON
{
"hex": "#3e309f",
"rgb": {
"r": 62,
"g": 48,
"b": 159
},
"hsl": {
"h": 247.568,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.40006,
"c": 0.1708,
"h": 281.1
},
"luminance": 0.05641
}Semantic roles & 50–950 ramp
primary
#3E309F
secondary
#B3BD6E
accent
#DD4BCB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81