#4E56B1#4E56B1
#4E56B1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.5% C 0.143 H 276.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #4E56B1 |
|---|---|
| RGB | rgb(78, 86, 177) |
| HSL | hsl(235, 39%, 50%) |
| HSV | hsv(235, 56%, 69%) |
| CMYK | cmyk(55.9%, 51.4%, 0%, 30.6%) |
| CIE-LAB | lab(40.33, 23.78, -49.66) |
| CIE-LCH | lch(40.33, 55.06, 295.59°) |
| OKLab | oklab(49.48% 0.0151 -0.1419) |
| OKLCH | oklch(49.48% 0.143 276.1) |
| XYZ | xyz(14.4029, 11.4486, 43.0373) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.62
Warm Blue
#4B57DB
ΔE00 5.86
Dusky Blue
#475F94
ΔE00 6.21
Ocean Blue
#4F42B5
ΔE00 6.48
Slate Blue
#6A5ACD
ΔE00 6.55
Dark Periwinkle
#665FD1
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E56B1 #B1A94E
analogous
#4E87B1 #4E56B1 #784EB1
triadic
#4E56B1 #B14E56 #56B14E
tetradic
#4E56B1 #B14E87 #B1A94E #4EB178
square
#4E56B1 #B14E87 #B1A94E #4EB178
split-complementary
#4E56B1 #B1784E #87B14E
monochromatic
#292D5C #3B4187 #4E56B1 #787FC4 #A3A7D6
Accessibility & contrast
On white
6.38
#4E56B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#4E56B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E56B1
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E56B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E56B1 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2663B4
Deuteranopia (green-blind)
#165BAF
Tritanopia (blue-blind)
#196A7B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4e56b1; /* rgb */ color: rgb(78, 86, 177); /* oklch */ color: oklch(49.5% 0.143 276.1);
Tailwind
colors: {
custom: {
50: '#8885c9',
500: '#4e56b1',
950: '#000000',
},
}SCSS
$custom: #4e56b1; $custom-light: #8885c9; $custom-dark: #000000;
JSON
{
"hex": "#4e56b1",
"rgb": {
"r": 78,
"g": 86,
"b": 177
},
"hsl": {
"h": 235.152,
"s": 38.824,
"l": 50
},
"oklch": {
"l": 0.4948,
"c": 0.14272,
"h": 276.1
},
"luminance": 0.1145
}Semantic roles & 50–950 ramp
primary
#4E56B1
secondary
#C4C097
accent
#C559CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82