#4E50A2#4E50A2
#4E50A2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.129 H 279.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4E50A2 |
|---|---|
| RGB | rgb(78, 80, 162) |
| HSL | hsl(239, 35%, 47%) |
| HSV | hsv(239, 52%, 64%) |
| CMYK | cmyk(51.9%, 50.6%, 0%, 36.5%) |
| CIE-LAB | lab(37.78, 22.67, -44.85) |
| CIE-LCH | lch(37.78, 50.25, 296.81°) |
| OKLab | oklab(47.25% 0.0206 -0.1278) |
| OKLCH | oklch(47.25% 0.129 279.2) |
| XYZ | xyz(12.5301, 9.9649, 35.4386) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.44
Blueberry
#464196
ΔE00 4.79
Ocean Blue
#4F42B5
ΔE00 5.67
Iris
#6258C4
ΔE00 6.40
Darkslateblue
#483D8B
ΔE00 6.58
Dusky Blue
#475F94
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E50A2 #A2A04E
analogous
#4E7AA2 #4E50A2 #764EA2
triadic
#4E50A2 #A24E50 #50A24E
tetradic
#4E50A2 #A24E7A #A2A04E #4EA276
square
#4E50A2 #A24E7A #A2A04E #4EA276
split-complementary
#4E50A2 #A2764E #7AA24E
monochromatic
#26274F #3A3C79 #4E50A2 #7274BB #9B9DCF
Accessibility & contrast
On white
7.02
#4E50A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#4E50A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E50A2
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E50A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E50A2 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#2056A0
Tritanopia (blue-blind)
#2C6271
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4e50a2; /* rgb */ color: rgb(78, 80, 162); /* oklch */ color: oklch(47.3% 0.129 279.2);
Tailwind
colors: {
custom: {
50: '#8681be',
500: '#4e50a2',
950: '#000000',
},
}SCSS
$custom: #4e50a2; $custom-light: #8681be; $custom-dark: #000000;
JSON
{
"hex": "#4e50a2",
"rgb": {
"r": 78,
"g": 80,
"b": 162
},
"hsl": {
"h": 238.571,
"s": 35,
"l": 47.059
},
"oklch": {
"l": 0.47251,
"c": 0.12947,
"h": 279.2
},
"luminance": 0.09966
}Semantic roles & 50–950 ramp
primary
#4E50A2
secondary
#BCBB90
accent
#C85DCB
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81