#4E56C1#4E56C1
#4E56C1 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.165 H 275.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4E56C1 |
|---|---|
| RGB | rgb(78, 86, 193) |
| HSL | hsl(236, 48%, 53%) |
| HSV | hsv(236, 60%, 76%) |
| CMYK | cmyk(59.6%, 55.4%, 0%, 24.3%) |
| CIE-LAB | lab(41.41, 29.14, -57.28) |
| CIE-LCH | lch(41.41, 64.26, 296.96°) |
| OKLab | oklab(50.64% 0.0161 -0.1643) |
| OKLCH | oklch(50.64% 0.165 275.6) |
| XYZ | xyz(16.0922, 12.1243, 51.9340) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.51
Warm Blue
#4B57DB
ΔE00 3.52
Dark Periwinkle
#665FD1
ΔE00 5.16
Slate Blue
#6A5ACD
ΔE00 5.20
Light Indigo
#6D5ACF
ΔE00 5.81
Ocean Blue
#4F42B5
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E56C1 #C1B94E
analogous
#4E8FC1 #4E56C1 #7F4EC1
triadic
#4E56C1 #C14E56 #56C14E
tetradic
#4E56C1 #C14E8F #C1B94E #4EC17F
square
#4E56C1 #C14E8F #C1B94E #4EC17F
split-complementary
#4E56C1 #C17F4E #8FC14E
monochromatic
#272C6E #363D9B #4E56C1 #7B81D1 #A9ADE1
Accessibility & contrast
On white
6.13
#4E56C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#4E56C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E56C1
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E56C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E56C1 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0167C5
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4e56c1; /* rgb */ color: rgb(78, 86, 193); /* oklch */ color: oklch(50.6% 0.165 275.6);
Tailwind
colors: {
custom: {
50: '#8a85d4',
500: '#4e56c1',
950: '#000000',
},
}SCSS
$custom: #4e56c1; $custom-light: #8a85d4; $custom-dark: #000000;
JSON
{
"hex": "#4e56c1",
"rgb": {
"r": 78,
"g": 86,
"b": 193
},
"hsl": {
"h": 235.826,
"s": 48.117,
"l": 53.137
},
"oklch": {
"l": 0.50642,
"c": 0.1651,
"h": 275.6
},
"luminance": 0.12126
}Semantic roles & 50–950 ramp
primary
#4E56C1
secondary
#CECB9D
accent
#CE50D8
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83