#4957E4#4957E4
#4957E4 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.3% C 0.211 H 272.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #4957E4 |
|---|---|
| RGB | rgb(73, 87, 228) |
| HSL | hsl(235, 74%, 59%) |
| HSV | hsv(235, 68%, 89%) |
| CMYK | cmyk(68%, 61.8%, 0%, 10.6%) |
| CIE-LAB | lab(43.99, 39.58, -73.19) |
| CIE-LCH | lch(43.99, 83.20, 298.40°) |
| OKLab | oklab(53.3% 0.0095 -0.2112) |
| OKLCH | oklch(53.3% 0.211 272.6) |
| XYZ | xyz(20.1547, 13.8324, 74.9915) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.12
Electric Blue
#0652FF
ΔE00 3.83
Azul
#1D5DEC
ΔE00 4.23
Dark Periwinkle
#665FD1
ΔE00 4.91
Iris
#6258C4
ΔE00 5.40
Slate Blue
#6A5ACD
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4957E4 #E4D649
analogous
#49A5E4 #4957E4 #8949E4
triadic
#4957E4 #E44957 #57E449
tetradic
#4957E4 #E449A5 #E4D649 #49E489
square
#4957E4 #E449A5 #E4D649 #49E489
split-complementary
#4957E4 #E48949 #A5E449
monochromatic
#17239C #1F2FD1 #4957E4 #7E88EC #B4B9F4
Accessibility & contrast
On white
5.58
#4957E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#4957E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4957E4
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4957E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4957E4 | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4957e4; /* rgb */ color: rgb(73, 87, 228); /* oklch */ color: oklch(53.3% 0.211 272.6);
Tailwind
colors: {
custom: {
50: '#8e86ee',
500: '#4957e4',
950: '#000000',
},
}SCSS
$custom: #4957e4; $custom-light: #8e86ee; $custom-dark: #000000;
JSON
{
"hex": "#4957e4",
"rgb": {
"r": 73,
"g": 87,
"b": 228
},
"hsl": {
"h": 234.581,
"s": 74.163,
"l": 59.02
},
"oklch": {
"l": 0.533,
"c": 0.2114,
"h": 272.6
},
"luminance": 0.13834
}Semantic roles & 50–950 ramp
primary
#4957E4
secondary
#E3DDA6
accent
#E037F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84