#4E58D1#4E58D1
#4E58D1 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.184 H 274.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #4E58D1 |
|---|---|
| RGB | rgb(78, 88, 209) |
| HSL | hsl(235, 59%, 56%) |
| HSV | hsv(235, 63%, 82%) |
| CMYK | cmyk(62.7%, 57.9%, 0%, 18%) |
| CIE-LAB | lab(43.06, 33.27, -63.85) |
| CIE-LCH | lch(43.06, 71.99, 297.52°) |
| OKLab | oklab(52.24% 0.0145 -0.1836) |
| OKLCH | oklch(52.24% 0.184 274.5) |
| XYZ | xyz(18.1364, 13.2011, 61.9016) |
| Luminance | 0.1320 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.32
Iris
#6258C4
ΔE00 3.75
Dark Periwinkle
#665FD1
ΔE00 4.15
Slate Blue
#6A5ACD
ΔE00 4.65
Light Indigo
#6D5ACF
ΔE00 5.16
Azul
#1D5DEC
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E58D1 #D1C74E
analogous
#4E9AD1 #4E58D1 #864ED1
triadic
#4E58D1 #D14E58 #58D14E
tetradic
#4E58D1 #D14E9A #D1C74E #4ED186
square
#4E58D1 #D14E9A #D1C74E #4ED186
split-complementary
#4E58D1 #D1864E #9AD14E
monochromatic
#222983 #2F39B3 #4E58D1 #7F86DE #AFB4EA
Accessibility & contrast
On white
5.77
#4E58D1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#4E58D1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E58D1
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E58D1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E58D1 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4e58d1; /* rgb */ color: rgb(78, 88, 209); /* oklch */ color: oklch(52.2% 0.184 274.5);
Tailwind
colors: {
custom: {
50: '#8d87e0',
500: '#4e58d1',
950: '#000000',
},
}SCSS
$custom: #4e58d1; $custom-light: #8d87e0; $custom-dark: #000000;
JSON
{
"hex": "#4e58d1",
"rgb": {
"r": 78,
"g": 88,
"b": 209
},
"hsl": {
"h": 235.42,
"s": 58.744,
"l": 56.275
},
"oklch": {
"l": 0.52236,
"c": 0.18419,
"h": 274.5
},
"luminance": 0.13203
}Semantic roles & 50–950 ramp
primary
#4E58D1
secondary
#D8D4A2
accent
#D646E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83