#4E58B4#4E58B4
#4E58B4 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.1% C 0.144 H 275.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4E58B4 |
|---|---|
| RGB | rgb(78, 88, 180) |
| HSL | hsl(234, 40%, 51%) |
| HSV | hsv(234, 57%, 71%) |
| CMYK | cmyk(56.7%, 51.1%, 0%, 29.4%) |
| CIE-LAB | lab(41.05, 23.51, -50.27) |
| CIE-LCH | lch(41.05, 55.50, 295.07°) |
| OKLab | oklab(50.09% 0.0132 -0.1437) |
| OKLCH | oklch(50.09% 0.144 275.2) |
| XYZ | xyz(14.8672, 11.8934, 44.6834) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.48
Warm Blue
#4B57DB
ΔE00 5.43
Dusky Blue
#475F94
ΔE00 6.06
Dark Periwinkle
#665FD1
ΔE00 6.18
Slate Blue
#6A5ACD
ΔE00 6.32
Sapphire
#0F52BA
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E58B4 #B4AA4E
analogous
#4E8BB4 #4E58B4 #774EB4
triadic
#4E58B4 #B44E58 #58B44E
tetradic
#4E58B4 #B44E8B #B4AA4E #4EB477
square
#4E58B4 #B44E8B #B4AA4E #4EB477
split-complementary
#4E58B4 #B4774E #8BB44E
monochromatic
#282E5F #3B428A #4E58B4 #7981C6 #A4A9D8
Accessibility & contrast
On white
6.22
#4E58B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#4E58B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E58B4
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E58B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E58B4 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2865B7
Deuteranopia (green-blind)
#165DB2
Tritanopia (blue-blind)
#136D7D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4e58b4; /* rgb */ color: rgb(78, 88, 180); /* oklch */ color: oklch(50.1% 0.144 275.2);
Tailwind
colors: {
custom: {
50: '#8887cb',
500: '#4e58b4',
950: '#000000',
},
}SCSS
$custom: #4e58b4; $custom-light: #8887cb; $custom-dark: #000000;
JSON
{
"hex": "#4e58b4",
"rgb": {
"r": 78,
"g": 88,
"b": 180
},
"hsl": {
"h": 234.118,
"s": 40.476,
"l": 50.588
},
"oklch": {
"l": 0.50085,
"c": 0.14429,
"h": 275.2
},
"luminance": 0.11894
}Semantic roles & 50–950 ramp
primary
#4E58B4
secondary
#C6C198
accent
#C457D0
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82