#4E58B3#4E58B3
#4E58B3 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.143 H 275.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #4E58B3 |
|---|---|
| RGB | rgb(78, 88, 179) |
| HSL | hsl(234, 40%, 50%) |
| HSV | hsv(234, 56%, 70%) |
| CMYK | cmyk(56.4%, 50.8%, 0%, 29.8%) |
| CIE-LAB | lab(40.98, 23.18, -49.79) |
| CIE-LCH | lch(40.98, 54.92, 294.96°) |
| OKLab | oklab(50.02% 0.0131 -0.1423) |
| OKLCH | oklch(50.02% 0.143 275.3) |
| XYZ | xyz(14.7657, 11.8528, 44.1488) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.58
Warm Blue
#4B57DB
ΔE00 5.58
Dusky Blue
#475F94
ΔE00 5.95
Dark Periwinkle
#665FD1
ΔE00 6.29
Slate Blue
#6A5ACD
ΔE00 6.42
Sapphire
#0F52BA
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E58B3 #B3A94E
analogous
#4E8BB3 #4E58B3 #764EB3
triadic
#4E58B3 #B34E58 #58B34E
tetradic
#4E58B3 #B34E8B #B3A94E #4EB376
square
#4E58B3 #B34E8B #B3A94E #4EB376
split-complementary
#4E58B3 #B3764E #8BB34E
monochromatic
#282E5E #3B4389 #4E58B3 #7980C5 #A4A9D8
Accessibility & contrast
On white
6.23
#4E58B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#4E58B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E58B3
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E58B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E58B3 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2965B6
Deuteranopia (green-blind)
#185DB1
Tritanopia (blue-blind)
#156C7D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4e58b3; /* rgb */ color: rgb(78, 88, 179); /* oklch */ color: oklch(50.0% 0.143 275.3);
Tailwind
colors: {
custom: {
50: '#8887ca',
500: '#4e58b3',
950: '#000000',
},
}SCSS
$custom: #4e58b3; $custom-light: #8887ca; $custom-dark: #000000;
JSON
{
"hex": "#4e58b3",
"rgb": {
"r": 78,
"g": 88,
"b": 179
},
"hsl": {
"h": 234.059,
"s": 39.921,
"l": 50.392
},
"oklch": {
"l": 0.50016,
"c": 0.14286,
"h": 275.3
},
"luminance": 0.11854
}Semantic roles & 50–950 ramp
primary
#4E58B3
secondary
#C5C098
accent
#C458D0
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82