#3E509D#3E509D
#3E509D is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.126 H 270.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #3E509D |
|---|---|
| RGB | rgb(62, 80, 157) |
| HSL | hsl(229, 43%, 43%) |
| HSV | hsv(229, 61%, 62%) |
| CMYK | cmyk(60.5%, 49%, 0%, 38.4%) |
| CIE-LAB | lab(36.36, 17.53, -44.19) |
| CIE-LCH | lch(36.36, 47.55, 291.64°) |
| OKLab | oklab(45.79% 0.0018 -0.1263) |
| OKLCH | oklch(45.79% 0.126 270.8) |
| XYZ | xyz(10.9390, 9.1949, 33.0901) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 4.92
Twilight
#4E518B
ΔE00 5.07
Cobalt (survey)
#1E488F
ΔE00 5.08
Cobalt
#0047AB
ΔE00 5.45
Dusky Blue
#475F94
ΔE00 5.45
Sapphire
#0F52BA
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E509D #9D8B3E
analogous
#3E7F9D #3E509D #5C3E9D
triadic
#3E509D #9D3E50 #509D3E
tetradic
#3E509D #9D3E7F #9D8B3E #3E9D5C
square
#3E509D #9D3E7F #9D8B3E #3E9D5C
split-complementary
#3E509D #9D5C3E #7F9D3E
monochromatic
#1B2345 #2D3A71 #3E509D #5A6DBE #8694CF
Accessibility & contrast
On white
7.40
#3E509D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#3E509D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E509D
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E509D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E509D | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5AA0
Deuteranopia (green-blind)
#19529B
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #3e509d; /* rgb */ color: rgb(62, 80, 157); /* oklch */ color: oklch(45.8% 0.126 270.8);
Tailwind
colors: {
custom: {
50: '#7c80ba',
500: '#3e509d',
950: '#000000',
},
}SCSS
$custom: #3e509d; $custom-light: #7c80ba; $custom-dark: #000000;
JSON
{
"hex": "#3e509d",
"rgb": {
"r": 62,
"g": 80,
"b": 157
},
"hsl": {
"h": 228.632,
"s": 43.379,
"l": 42.941
},
"oklch": {
"l": 0.45786,
"c": 0.1263,
"h": 270.8
},
"luminance": 0.09196
}Semantic roles & 50–950 ramp
primary
#3E509D
secondary
#BAAE7D
accent
#BB55D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81