#4E59D5#4E59D5
#4E59D5 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.7% C 0.188 H 274.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #4E59D5 |
|---|---|
| RGB | rgb(78, 89, 213) |
| HSL | hsl(235, 62%, 57%) |
| HSV | hsv(235, 63%, 84%) |
| CMYK | cmyk(63.4%, 58.2%, 0%, 16.5%) |
| CIE-LAB | lab(43.61, 33.99, -65.26) |
| CIE-LCH | lch(43.61, 73.58, 297.51°) |
| OKLab | oklab(52.73% 0.0136 -0.1878) |
| OKLCH | oklch(52.73% 0.188 274.1) |
| XYZ | xyz(18.7205, 13.5670, 64.5700) |
| Luminance | 0.1357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.97
Dark Periwinkle
#665FD1
ΔE00 4.00
Iris
#6258C4
ΔE00 4.04
Slate Blue
#6A5ACD
ΔE00 4.68
Azul
#1D5DEC
ΔE00 4.82
Light Indigo
#6D5ACF
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E59D5 #D5CA4E
analogous
#4E9DD5 #4E59D5 #874ED5
triadic
#4E59D5 #D54E59 #59D54E
tetradic
#4E59D5 #D54E9D #D5CA4E #4ED587
square
#4E59D5 #D54E9D #D5CA4E #4ED587
split-complementary
#4E59D5 #D5874E #9DD54E
monochromatic
#202988 #2C38BA #4E59D5 #7F87E1 #B1B6EC
Accessibility & contrast
On white
5.65
#4E59D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#4E59D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E59D5
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E59D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E59D5 | 1.00 | 5.65 | 3.71 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#0061D3
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4e59d5; /* rgb */ color: rgb(78, 89, 213); /* oklch */ color: oklch(52.7% 0.188 274.1);
Tailwind
colors: {
custom: {
50: '#8d88e3',
500: '#4e59d5',
950: '#000000',
},
}SCSS
$custom: #4e59d5; $custom-light: #8d88e3; $custom-dark: #000000;
JSON
{
"hex": "#4e59d5",
"rgb": {
"r": 78,
"g": 89,
"b": 213
},
"hsl": {
"h": 235.111,
"s": 61.644,
"l": 57.059
},
"oklch": {
"l": 0.52731,
"c": 0.18826,
"h": 274.1
},
"luminance": 0.13569
}Semantic roles & 50–950 ramp
primary
#4E59D5
secondary
#DBD6A4
accent
#D843E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B15
muted
#7E7C84