#4E58B0#4E58B0
#4E58B0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.139 H 275.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #4E58B0 |
|---|---|
| RGB | rgb(78, 88, 176) |
| HSL | hsl(234, 39%, 50%) |
| HSV | hsv(234, 56%, 69%) |
| CMYK | cmyk(55.7%, 50%, 0%, 31%) |
| CIE-LAB | lab(40.79, 22.18, -48.33) |
| CIE-LCH | lch(40.79, 53.18, 294.65°) |
| OKLab | oklab(49.81% 0.0128 -0.138) |
| OKLCH | oklch(49.81% 0.139 275.3) |
| XYZ | xyz(14.4656, 11.7327, 42.5683) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.88
Dusky Blue
#475F94
ΔE00 5.64
Warm Blue
#4B57DB
ΔE00 6.04
Denim Blue
#3B5B92
ΔE00 6.40
Dark Periwinkle
#665FD1
ΔE00 6.63
Sapphire
#0F52BA
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E58B0 #B0A64E
analogous
#4E89B0 #4E58B0 #754EB0
triadic
#4E58B0 #B04E58 #58B04E
tetradic
#4E58B0 #B04E89 #B0A64E #4EB075
square
#4E58B0 #B04E89 #B0A64E #4EB075
split-complementary
#4E58B0 #B0754E #89B04E
monochromatic
#282E5B #3B4386 #4E58B0 #7880C3 #A2A8D6
Accessibility & contrast
On white
6.27
#4E58B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#4E58B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E58B0
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E58B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E58B0 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C64B3
Deuteranopia (green-blind)
#1E5CAE
Tritanopia (blue-blind)
#1A6C7B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4e58b0; /* rgb */ color: rgb(78, 88, 176); /* oklch */ color: oklch(49.8% 0.139 275.3);
Tailwind
colors: {
custom: {
50: '#8787c8',
500: '#4e58b0',
950: '#000000',
},
}SCSS
$custom: #4e58b0; $custom-light: #8787c8; $custom-dark: #000000;
JSON
{
"hex": "#4e58b0",
"rgb": {
"r": 78,
"g": 88,
"b": 176
},
"hsl": {
"h": 233.878,
"s": 38.583,
"l": 49.804
},
"oklch": {
"l": 0.49808,
"c": 0.13857,
"h": 275.3
},
"luminance": 0.11734
}Semantic roles & 50–950 ramp
primary
#4E58B0
secondary
#C3BF97
accent
#C359CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82