#4E59D6#4E59D6
#4E59D6 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.190 H 274.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #4E59D6 |
|---|---|
| RGB | rgb(78, 89, 214) |
| HSL | hsl(235, 62%, 57%) |
| HSV | hsv(235, 64%, 84%) |
| CMYK | cmyk(63.6%, 58.4%, 0%, 16.1%) |
| CIE-LAB | lab(43.68, 34.33, -65.71) |
| CIE-LCH | lch(43.68, 74.14, 297.58°) |
| OKLab | oklab(52.81% 0.0136 -0.1891) |
| OKLCH | oklch(52.81% 0.19 274.1) |
| XYZ | xyz(18.8479, 13.6179, 65.2406) |
| Luminance | 0.1362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.87
Dark Periwinkle
#665FD1
ΔE00 3.99
Iris
#6258C4
ΔE00 4.10
Slate Blue
#6A5ACD
ΔE00 4.69
Azul
#1D5DEC
ΔE00 4.76
Light Indigo
#6D5ACF
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E59D6 #D6CB4E
analogous
#4E9DD6 #4E59D6 #874ED6
triadic
#4E59D6 #D64E59 #59D64E
tetradic
#4E59D6 #D64E9D #D6CB4E #4ED687
square
#4E59D6 #D64E9D #D6CB4E #4ED687
split-complementary
#4E59D6 #D6874E #9DD64E
monochromatic
#20288A #2B37BB #4E59D6 #8088E2 #B1B6ED
Accessibility & contrast
On white
5.64
#4E59D6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#4E59D6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E59D6
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E59D6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E59D6 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4e59d6; /* rgb */ color: rgb(78, 89, 214); /* oklch */ color: oklch(52.8% 0.190 274.1);
Tailwind
colors: {
custom: {
50: '#8e88e3',
500: '#4e59d6',
950: '#000000',
},
}SCSS
$custom: #4e59d6; $custom-light: #8e88e3; $custom-dark: #000000;
JSON
{
"hex": "#4e59d6",
"rgb": {
"r": 78,
"g": 89,
"b": 214
},
"hsl": {
"h": 235.147,
"s": 62.385,
"l": 57.255
},
"oklch": {
"l": 0.5281,
"c": 0.18959,
"h": 274.1
},
"luminance": 0.13619
}Semantic roles & 50–950 ramp
primary
#4E59D6
secondary
#DBD7A4
accent
#D842E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84