#4956E4#4956E4
#4956E4 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.1% C 0.213 H 272.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #4956E4 |
|---|---|
| RGB | rgb(73, 86, 228) |
| HSL | hsl(235, 74%, 59%) |
| HSV | hsv(235, 68%, 89%) |
| CMYK | cmyk(68%, 62.3%, 0%, 10.6%) |
| CIE-LAB | lab(43.76, 40.18, -73.57) |
| CIE-LCH | lch(43.76, 83.83, 298.64°) |
| OKLab | oklab(53.13% 0.0102 -0.2123) |
| OKLCH | oklch(53.13% 0.213 272.7) |
| XYZ | xyz(20.0743, 13.6716, 74.9647) |
| Luminance | 0.1367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.14
Electric Blue
#0652FF
ΔE00 3.79
Azul
#1D5DEC
ΔE00 4.42
Dark Periwinkle
#665FD1
ΔE00 5.01
Iris
#6258C4
ΔE00 5.38
Slate Blue
#6A5ACD
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4956E4 #E4D749
analogous
#49A4E4 #4956E4 #8A49E4
triadic
#4956E4 #E44956 #56E449
tetradic
#4956E4 #E449A4 #E4D749 #49E48A
square
#4956E4 #E449A4 #E4D749 #49E48A
split-complementary
#4956E4 #E48A49 #A4E449
monochromatic
#17229C #1F2ED1 #4956E4 #7E87EC #B4B9F4
Accessibility & contrast
On white
5.62
#4956E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#4956E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4956E4
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4956E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4956E4 | 1.00 | 5.62 | 3.73 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4956e4; /* rgb */ color: rgb(73, 86, 228); /* oklch */ color: oklch(53.1% 0.213 272.7);
Tailwind
colors: {
custom: {
50: '#8e86ee',
500: '#4956e4',
950: '#000000',
},
}SCSS
$custom: #4956e4; $custom-light: #8e86ee; $custom-dark: #000000;
JSON
{
"hex": "#4956e4",
"rgb": {
"r": 73,
"g": 86,
"b": 228
},
"hsl": {
"h": 234.968,
"s": 74.163,
"l": 59.02
},
"oklch": {
"l": 0.53129,
"c": 0.21256,
"h": 272.7
},
"luminance": 0.13673
}Semantic roles & 50–950 ramp
primary
#4956E4
secondary
#E3DEA6
accent
#E137F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84