#4E58AB#4E58AB
#4E58AB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.5% C 0.131 H 275.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4E58AB |
|---|---|
| RGB | rgb(78, 88, 171) |
| HSL | hsl(234, 37%, 49%) |
| HSV | hsv(234, 54%, 67%) |
| CMYK | cmyk(54.4%, 48.5%, 0%, 32.9%) |
| CIE-LAB | lab(40.47, 20.51, -45.89) |
| CIE-LCH | lch(40.47, 50.26, 294.09°) |
| OKLab | oklab(49.47% 0.0123 -0.1308) |
| OKLCH | oklch(49.47% 0.131 275.4) |
| XYZ | xyz(13.9799, 11.5385, 40.0107) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 5.13
Iris
#6258C4
ΔE00 5.43
Twilight
#4E518B
ΔE00 5.91
Denim Blue
#3B5B92
ΔE00 5.98
Warm Blue
#4B57DB
ΔE00 6.81
Sapphire
#0F52BA
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E58AB #ABA14E
analogous
#4E87AB #4E58AB #734EAB
triadic
#4E58AB #AB4E58 #58AB4E
tetradic
#4E58AB #AB4E87 #ABA14E #4EAB73
square
#4E58AB #AB4E87 #ABA14E #4EAB73
split-complementary
#4E58AB #AB734E #87AB4E
monochromatic
#282D57 #3B4281 #4E58AB #767EC0 #A0A5D4
Accessibility & contrast
On white
6.35
#4E58AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#4E58AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E58AB
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E58AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E58AB | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3163AE
Deuteranopia (green-blind)
#265CA9
Tritanopia (blue-blind)
#216A79
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4e58ab; /* rgb */ color: rgb(78, 88, 171); /* oklch */ color: oklch(49.5% 0.131 275.4);
Tailwind
colors: {
custom: {
50: '#8787c4',
500: '#4e58ab',
950: '#000000',
},
}SCSS
$custom: #4e58ab; $custom-light: #8787c4; $custom-dark: #000000;
JSON
{
"hex": "#4e58ab",
"rgb": {
"r": 78,
"g": 88,
"b": 171
},
"hsl": {
"h": 233.548,
"s": 37.349,
"l": 48.824
},
"oklch": {
"l": 0.49468,
"c": 0.13136,
"h": 275.4
},
"luminance": 0.11539
}Semantic roles & 50–950 ramp
primary
#4E58AB
secondary
#C1BC94
accent
#C15ACD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82