#3E508E#3E508E
#3E508E is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.8% C 0.104 H 269.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3E508E |
|---|---|
| RGB | rgb(62, 80, 142) |
| HSL | hsl(227, 39%, 40%) |
| HSV | hsv(227, 56%, 56%) |
| CMYK | cmyk(56.3%, 43.7%, 0%, 44.3%) |
| CIE-LAB | lab(35.43, 12.28, -36.60) |
| CIE-LCH | lch(35.43, 38.61, 288.55°) |
| OKLab | oklab(44.78% -0.0006 -0.104) |
| OKLCH | oklch(44.78% 0.104 269.6) |
| XYZ | xyz(9.7361, 8.7137, 26.7548) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.91
Denim Blue
#3B5B92
ΔE00 4.49
Cobalt (survey)
#1E488F
ΔE00 4.78
Dusky Blue
#475F94
ΔE00 5.05
Dusk
#4E5481
ΔE00 5.11
Dusk Blue
#26538D
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E508E #8E7C3E
analogous
#3E788E #3E508E #543E8E
triadic
#3E508E #8E3E50 #508E3E
tetradic
#3E508E #8E3E78 #8E7C3E #3E8E54
square
#3E508E #8E3E78 #8E7C3E #3E8E54
split-complementary
#3E508E #8E543E #788E3E
monochromatic
#192039 #2B3863 #3E508E #556AB5 #7F8FC7
Accessibility & contrast
On white
7.66
#3E508E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#3E508E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E508E
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E508E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E508E | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#125E68
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3e508e; /* rgb */ color: rgb(62, 80, 142); /* oklch */ color: oklch(44.8% 0.104 269.6);
Tailwind
colors: {
custom: {
50: '#7a80af',
500: '#3e508e',
950: '#000000',
},
}SCSS
$custom: #3e508e; $custom-light: #7a80af; $custom-dark: #000000;
JSON
{
"hex": "#3e508e",
"rgb": {
"r": 62,
"g": 80,
"b": 142
},
"hsl": {
"h": 226.5,
"s": 39.216,
"l": 40
},
"oklch": {
"l": 0.44776,
"c": 0.104,
"h": 269.6
},
"luminance": 0.08714
}Semantic roles & 50–950 ramp
primary
#3E508E
secondary
#B1A476
accent
#B459CF
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F