#4E56BA#4E56BA
#4E56BA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.1% C 0.155 H 275.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4E56BA |
|---|---|
| RGB | rgb(78, 86, 186) |
| HSL | hsl(236, 44%, 52%) |
| HSV | hsv(236, 58%, 73%) |
| CMYK | cmyk(58.1%, 53.8%, 0%, 27.1%) |
| CIE-LAB | lab(40.93, 26.79, -53.98) |
| CIE-LCH | lch(40.93, 60.26, 296.40°) |
| OKLab | oklab(50.12% 0.0158 -0.1546) |
| OKLCH | oklch(50.12% 0.155 275.8) |
| XYZ | xyz(15.3297, 11.8193, 47.9184) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.86
Warm Blue
#4B57DB
ΔE00 4.52
Slate Blue
#6A5ACD
ΔE00 5.71
Dark Periwinkle
#665FD1
ΔE00 5.73
Ocean Blue
#4F42B5
ΔE00 6.29
Light Indigo
#6D5ACF
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E56BA #BAB24E
analogous
#4E8CBA #4E56BA #7C4EBA
triadic
#4E56BA #BA4E56 #56BA4E
tetradic
#4E56BA #BA4E8C #BAB24E #4EBA7C
square
#4E56BA #BA4E8C #BAB24E #4EBA7C
split-complementary
#4E56BA #BA7C4E #8CBA4E
monochromatic
#282C66 #393F92 #4E56BA #7A80CB #A6AADC
Accessibility & contrast
On white
6.24
#4E56BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#4E56BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E56BA
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E56BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E56BA | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1865BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#026D7F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4e56ba; /* rgb */ color: rgb(78, 86, 186); /* oklch */ color: oklch(50.1% 0.155 275.8);
Tailwind
colors: {
custom: {
50: '#8985cf',
500: '#4e56ba',
950: '#000000',
},
}SCSS
$custom: #4e56ba; $custom-light: #8985cf; $custom-dark: #000000;
JSON
{
"hex": "#4e56ba",
"rgb": {
"r": 78,
"g": 86,
"b": 186
},
"hsl": {
"h": 235.556,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.50124,
"c": 0.15541,
"h": 275.8
},
"luminance": 0.1182
}Semantic roles & 50–950 ramp
primary
#4E56BA
secondary
#CAC69A
accent
#CA54D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82