#4E58BA#4E58BA
#4E58BA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.153 H 275.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4E58BA |
|---|---|
| RGB | rgb(78, 88, 186) |
| HSL | hsl(234, 44%, 52%) |
| HSV | hsv(234, 58%, 73%) |
| CMYK | cmyk(58.1%, 52.7%, 0%, 27.1%) |
| CIE-LAB | lab(41.44, 25.52, -53.15) |
| CIE-LCH | lch(41.44, 58.96, 295.65°) |
| OKLab | oklab(50.51% 0.0137 -0.1521) |
| OKLCH | oklch(50.51% 0.153 275.1) |
| XYZ | xyz(15.4917, 12.1432, 47.9724) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.00
Warm Blue
#4B57DB
ΔE00 4.54
Dark Periwinkle
#665FD1
ΔE00 5.57
Slate Blue
#6A5ACD
ΔE00 5.77
Light Indigo
#6D5ACF
ΔE00 6.39
Sapphire
#0F52BA
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E58BA #BAB04E
analogous
#4E8EBA #4E58BA #7A4EBA
triadic
#4E58BA #BA4E58 #58BA4E
tetradic
#4E58BA #BA4E8E #BAB04E #4EBA7A
square
#4E58BA #BA4E8E #BAB04E #4EBA7A
split-complementary
#4E58BA #BA7A4E #8EBA4E
monochromatic
#282D66 #394192 #4E58BA #7A82CB #A6ABDC
Accessibility & contrast
On white
6.12
#4E58BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#4E58BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E58BA
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E58BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E58BA | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F66BD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#016E80
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4e58ba; /* rgb */ color: rgb(78, 88, 186); /* oklch */ color: oklch(50.5% 0.153 275.1);
Tailwind
colors: {
custom: {
50: '#8987cf',
500: '#4e58ba',
950: '#000000',
},
}SCSS
$custom: #4e58ba; $custom-light: #8987cf; $custom-dark: #000000;
JSON
{
"hex": "#4e58ba",
"rgb": {
"r": 78,
"g": 88,
"b": 186
},
"hsl": {
"h": 234.444,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.50511,
"c": 0.15275,
"h": 275.1
},
"luminance": 0.12144
}Semantic roles & 50–950 ramp
primary
#4E58BA
secondary
#CAC59A
accent
#C854D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82