#4E57D6#4E57D6
#4E57D6 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.192 H 274.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4E57D6 |
|---|---|
| RGB | rgb(78, 87, 214) |
| HSL | hsl(236, 62%, 57%) |
| HSV | hsv(236, 64%, 84%) |
| CMYK | cmyk(63.6%, 59.3%, 0%, 16.1%) |
| CIE-LAB | lab(43.20, 35.57, -66.50) |
| CIE-LCH | lch(43.20, 75.41, 298.14°) |
| OKLab | oklab(52.45% 0.0153 -0.1914) |
| OKLCH | oklch(52.45% 0.192 274.6) |
| XYZ | xyz(18.6837, 13.2895, 65.1858) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.69
Iris
#6258C4
ΔE00 3.98
Dark Periwinkle
#665FD1
ΔE00 4.20
Slate Blue
#6A5ACD
ΔE00 4.63
Light Indigo
#6D5ACF
ΔE00 5.09
Azul
#1D5DEC
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E57D6 #D6CD4E
analogous
#4E9BD6 #4E57D6 #894ED6
triadic
#4E57D6 #D64E57 #57D64E
tetradic
#4E57D6 #D64E9B #D6CD4E #4ED689
square
#4E57D6 #D64E9B #D6CD4E #4ED689
split-complementary
#4E57D6 #D6894E #9BD64E
monochromatic
#20278A #2B35BB #4E57D6 #8086E2 #B1B5ED
Accessibility & contrast
On white
5.74
#4E57D6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#4E57D6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E57D6
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E57D6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E57D6 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4e57d6; /* rgb */ color: rgb(78, 87, 214); /* oklch */ color: oklch(52.5% 0.192 274.6);
Tailwind
colors: {
custom: {
50: '#8e86e4',
500: '#4e57d6',
950: '#000000',
},
}SCSS
$custom: #4e57d6; $custom-light: #8e86e4; $custom-dark: #000000;
JSON
{
"hex": "#4e57d6",
"rgb": {
"r": 78,
"g": 87,
"b": 214
},
"hsl": {
"h": 236.029,
"s": 62.385,
"l": 57.255
},
"oklch": {
"l": 0.52451,
"c": 0.19204,
"h": 274.6
},
"luminance": 0.13291
}Semantic roles & 50–950 ramp
primary
#4E57D6
secondary
#DBD8A4
accent
#DB42E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84