#4E58D7#4E58D7
#4E58D7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.192 H 274.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #4E58D7 |
|---|---|
| RGB | rgb(78, 88, 215) |
| HSL | hsl(236, 63%, 57%) |
| HSV | hsv(236, 64%, 84%) |
| CMYK | cmyk(63.7%, 59.1%, 0%, 15.7%) |
| CIE-LAB | lab(43.51, 35.28, -66.56) |
| CIE-LCH | lch(43.51, 75.33, 297.93°) |
| OKLab | oklab(52.71% 0.0144 -0.1916) |
| OKLCH | oklch(52.71% 0.192 274.3) |
| XYZ | xyz(18.8933, 13.5038, 65.8877) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.62
Dark Periwinkle
#665FD1
ΔE00 4.09
Iris
#6258C4
ΔE00 4.09
Slate Blue
#6A5ACD
ΔE00 4.66
Azul
#1D5DEC
ΔE00 4.88
Light Indigo
#6D5ACF
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E58D7 #D7CD4E
analogous
#4E9DD7 #4E58D7 #884ED7
triadic
#4E58D7 #D74E58 #58D74E
tetradic
#4E58D7 #D74E9D #D7CD4E #4ED788
square
#4E58D7 #D74E9D #D7CD4E #4ED788
split-complementary
#4E58D7 #D7884E #9DD74E
monochromatic
#1F278B #2B35BD #4E58D7 #8087E2 #B2B6EE
Accessibility & contrast
On white
5.67
#4E58D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#4E58D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E58D7
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E58D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E58D7 | 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)
#006DDB
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4e58d7; /* rgb */ color: rgb(78, 88, 215); /* oklch */ color: oklch(52.7% 0.192 274.3);
Tailwind
colors: {
custom: {
50: '#8e87e4',
500: '#4e58d7',
950: '#000000',
},
}SCSS
$custom: #4e58d7; $custom-light: #8e87e4; $custom-dark: #000000;
JSON
{
"hex": "#4e58d7",
"rgb": {
"r": 78,
"g": 88,
"b": 215
},
"hsl": {
"h": 235.62,
"s": 63.134,
"l": 57.451
},
"oklch": {
"l": 0.52709,
"c": 0.19213,
"h": 274.3
},
"luminance": 0.13505
}Semantic roles & 50–950 ramp
primary
#4E58D7
secondary
#DCD8A5
accent
#DA42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84