#4E57D1#4E57D1
#4E57D1 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.185 H 274.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4E57D1 |
|---|---|
| RGB | rgb(78, 87, 209) |
| HSL | hsl(236, 59%, 56%) |
| HSV | hsv(236, 63%, 82%) |
| CMYK | cmyk(62.7%, 58.4%, 0%, 18%) |
| CIE-LAB | lab(42.82, 33.89, -64.24) |
| CIE-LCH | lch(42.82, 72.63, 297.81°) |
| OKLab | oklab(52.05% 0.0153 -0.1848) |
| OKLCH | oklch(52.05% 0.185 274.7) |
| XYZ | xyz(18.0549, 13.0380, 61.8744) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.31
Iris
#6258C4
ΔE00 3.70
Dark Periwinkle
#665FD1
ΔE00 4.27
Slate Blue
#6A5ACD
ΔE00 4.63
Light Indigo
#6D5ACF
ΔE00 5.14
Azul
#1D5DEC
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E57D1 #D1C84E
analogous
#4E99D1 #4E57D1 #874ED1
triadic
#4E57D1 #D14E57 #57D14E
tetradic
#4E57D1 #D14E99 #D1C84E #4ED187
square
#4E57D1 #D14E99 #D1C84E #4ED187
split-complementary
#4E57D1 #D1874E #99D14E
monochromatic
#222983 #2F38B3 #4E57D1 #7F85DE #AFB3EA
Accessibility & contrast
On white
5.82
#4E57D1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#4E57D1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E57D1
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E57D1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E57D1 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4e57d1; /* rgb */ color: rgb(78, 87, 209); /* oklch */ color: oklch(52.1% 0.185 274.7);
Tailwind
colors: {
custom: {
50: '#8d86e0',
500: '#4e57d1',
950: '#000000',
},
}SCSS
$custom: #4e57d1; $custom-light: #8d86e0; $custom-dark: #000000;
JSON
{
"hex": "#4e57d1",
"rgb": {
"r": 78,
"g": 87,
"b": 209
},
"hsl": {
"h": 235.878,
"s": 58.744,
"l": 56.275
},
"oklch": {
"l": 0.52055,
"c": 0.18544,
"h": 274.7
},
"luminance": 0.1304
}Semantic roles & 50–950 ramp
primary
#4E57D1
secondary
#D8D5A2
accent
#D746E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83