#4E57D5#4E57D5
#4E57D5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.191 H 274.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4E57D5 |
|---|---|
| RGB | rgb(78, 87, 213) |
| HSL | hsl(236, 62%, 57%) |
| HSV | hsv(236, 63%, 84%) |
| CMYK | cmyk(63.4%, 59.2%, 0%, 16.5%) |
| CIE-LAB | lab(43.12, 35.23, -66.05) |
| CIE-LCH | lch(43.12, 74.86, 298.07°) |
| OKLab | oklab(52.37% 0.0153 -0.1901) |
| OKLCH | oklch(52.37% 0.191 274.6) |
| XYZ | xyz(18.5564, 13.2386, 64.5153) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.81
Iris
#6258C4
ΔE00 3.92
Dark Periwinkle
#665FD1
ΔE00 4.21
Slate Blue
#6A5ACD
ΔE00 4.63
Light Indigo
#6D5ACF
ΔE00 5.09
Azul
#1D5DEC
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E57D5 #D5CC4E
analogous
#4E9BD5 #4E57D5 #894ED5
triadic
#4E57D5 #D54E57 #57D54E
tetradic
#4E57D5 #D54E9B #D5CC4E #4ED589
square
#4E57D5 #D54E9B #D5CC4E #4ED589
split-complementary
#4E57D5 #D5894E #9BD54E
monochromatic
#202788 #2C36BA #4E57D5 #7F86E1 #B1B5EC
Accessibility & contrast
On white
5.76
#4E57D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#4E57D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E57D5
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E57D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E57D5 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4e57d5; /* rgb */ color: rgb(78, 87, 213); /* oklch */ color: oklch(52.4% 0.191 274.6);
Tailwind
colors: {
custom: {
50: '#8e86e3',
500: '#4e57d5',
950: '#000000',
},
}SCSS
$custom: #4e57d5; $custom-light: #8e86e3; $custom-dark: #000000;
JSON
{
"hex": "#4e57d5",
"rgb": {
"r": 78,
"g": 87,
"b": 213
},
"hsl": {
"h": 236,
"s": 61.644,
"l": 57.059
},
"oklch": {
"l": 0.52372,
"c": 0.19072,
"h": 274.6
},
"luminance": 0.1324
}Semantic roles & 50–950 ramp
primary
#4E57D5
secondary
#DBD7A4
accent
#DA43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84