#4E56A2#4E56A2
#4E56A2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.121 H 276.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #4E56A2 |
|---|---|
| RGB | rgb(78, 86, 162) |
| HSL | hsl(234, 35%, 47%) |
| HSV | hsv(234, 52%, 64%) |
| CMYK | cmyk(51.9%, 46.9%, 0%, 36.5%) |
| CIE-LAB | lab(39.38, 18.82, -42.28) |
| CIE-LCH | lch(39.38, 46.28, 294.00°) |
| OKLab | oklab(48.46% 0.0134 -0.1202) |
| OKLCH | oklch(48.46% 0.121 276.4) |
| XYZ | xyz(12.9892, 10.8831, 35.5916) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.38
Dusky Blue
#475F94
ΔE00 4.95
Denim Blue
#3B5B92
ΔE00 5.82
Dusk
#4E5481
ΔE00 6.36
Iris
#6258C4
ΔE00 6.43
Blueberry
#464196
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E56A2 #A29A4E
analogous
#4E80A2 #4E56A2 #704EA2
triadic
#4E56A2 #A24E56 #56A24E
tetradic
#4E56A2 #A24E80 #A29A4E #4EA270
square
#4E56A2 #A24E80 #A29A4E #4EA270
split-complementary
#4E56A2 #A2704E #80A24E
monochromatic
#262A4F #3A4079 #4E56A2 #7279BB #9BA0CF
Accessibility & contrast
On white
6.61
#4E56A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#4E56A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E56A2
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E56A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E56A2 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3560A5
Deuteranopia (green-blind)
#2C59A0
Tritanopia (blue-blind)
#2B6674
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4e56a2; /* rgb */ color: rgb(78, 86, 162); /* oklch */ color: oklch(48.5% 0.121 276.4);
Tailwind
colors: {
custom: {
50: '#8585be',
500: '#4e56a2',
950: '#000000',
},
}SCSS
$custom: #4e56a2; $custom-light: #8585be; $custom-dark: #000000;
JSON
{
"hex": "#4e56a2",
"rgb": {
"r": 78,
"g": 86,
"b": 162
},
"hsl": {
"h": 234.286,
"s": 35,
"l": 47.059
},
"oklch": {
"l": 0.48463,
"c": 0.12098,
"h": 276.4
},
"luminance": 0.10884
}Semantic roles & 50–950 ramp
primary
#4E56A2
secondary
#BCB890
accent
#C15DCB
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0B0B12
muted
#7C7C81