#4E59D4#4E59D4
#4E59D4 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.187 H 274.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #4E59D4 |
|---|---|
| RGB | rgb(78, 89, 212) |
| HSL | hsl(235, 61%, 57%) |
| HSV | hsv(235, 63%, 83%) |
| CMYK | cmyk(63.2%, 58%, 0%, 16.9%) |
| CIE-LAB | lab(43.53, 33.66, -64.81) |
| CIE-LCH | lch(43.53, 73.03, 297.44°) |
| OKLab | oklab(52.65% 0.0136 -0.1864) |
| OKLCH | oklch(52.65% 0.187 274.2) |
| XYZ | xyz(18.5940, 13.5164, 63.9036) |
| Luminance | 0.1352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.07
Iris
#6258C4
ΔE00 3.98
Dark Periwinkle
#665FD1
ΔE00 4.01
Slate Blue
#6A5ACD
ΔE00 4.68
Azul
#1D5DEC
ΔE00 4.87
Light Indigo
#6D5ACF
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E59D4 #D4C94E
analogous
#4E9CD4 #4E59D4 #864ED4
triadic
#4E59D4 #D44E59 #59D44E
tetradic
#4E59D4 #D44E9C #D4C94E #4ED486
square
#4E59D4 #D44E9C #D4C94E #4ED486
split-complementary
#4E59D4 #D4864E #9CD44E
monochromatic
#212987 #2D38B8 #4E59D4 #7F87E0 #B0B5EC
Accessibility & contrast
On white
5.67
#4E59D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#4E59D4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E59D4
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E59D4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E59D4 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4e59d4; /* rgb */ color: rgb(78, 89, 212); /* oklch */ color: oklch(52.7% 0.187 274.2);
Tailwind
colors: {
custom: {
50: '#8d88e2',
500: '#4e59d4',
950: '#000000',
},
}SCSS
$custom: #4e59d4; $custom-light: #8d88e2; $custom-dark: #000000;
JSON
{
"hex": "#4e59d4",
"rgb": {
"r": 78,
"g": 89,
"b": 212
},
"hsl": {
"h": 235.075,
"s": 60.909,
"l": 56.863
},
"oklch": {
"l": 0.52653,
"c": 0.18693,
"h": 274.2
},
"luminance": 0.13518
}Semantic roles & 50–950 ramp
primary
#4E59D4
secondary
#DAD6A4
accent
#D744E4
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B15
muted
#7E7C84