#4E58D5#4E58D5
#4E58D5 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.189 H 274.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #4E58D5 |
|---|---|
| RGB | rgb(78, 88, 213) |
| HSL | hsl(236, 62%, 57%) |
| HSV | hsv(236, 63%, 84%) |
| CMYK | cmyk(63.4%, 58.7%, 0%, 16.5%) |
| CIE-LAB | lab(43.36, 34.61, -65.66) |
| CIE-LCH | lch(43.36, 74.22, 297.80°) |
| OKLab | oklab(52.55% 0.0144 -0.1889) |
| OKLCH | oklch(52.55% 0.189 274.4) |
| XYZ | xyz(18.6379, 13.4017, 64.5425) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.83
Iris
#6258C4
ΔE00 3.96
Dark Periwinkle
#665FD1
ΔE00 4.09
Slate Blue
#6A5ACD
ΔE00 4.64
Azul
#1D5DEC
ΔE00 4.97
Light Indigo
#6D5ACF
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E58D5 #D5CB4E
analogous
#4E9BD5 #4E58D5 #884ED5
triadic
#4E58D5 #D54E58 #58D54E
tetradic
#4E58D5 #D54E9B #D5CB4E #4ED588
square
#4E58D5 #D54E9B #D5CB4E #4ED588
split-complementary
#4E58D5 #D5884E #9BD54E
monochromatic
#202888 #2C37BA #4E58D5 #7F87E1 #B1B5EC
Accessibility & contrast
On white
5.71
#4E58D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#4E58D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E58D5
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E58D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E58D5 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#0061D3
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4e58d5; /* rgb */ color: rgb(78, 88, 213); /* oklch */ color: oklch(52.6% 0.189 274.4);
Tailwind
colors: {
custom: {
50: '#8e87e3',
500: '#4e58d5',
950: '#000000',
},
}SCSS
$custom: #4e58d5; $custom-light: #8e87e3; $custom-dark: #000000;
JSON
{
"hex": "#4e58d5",
"rgb": {
"r": 78,
"g": 88,
"b": 213
},
"hsl": {
"h": 235.556,
"s": 61.644,
"l": 57.059
},
"oklch": {
"l": 0.52551,
"c": 0.18949,
"h": 274.4
},
"luminance": 0.13403
}Semantic roles & 50–950 ramp
primary
#4E58D5
secondary
#DBD7A4
accent
#D943E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84