#4A57E5#4A57E5
#4A57E5 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.4% C 0.212 H 272.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #4A57E5 |
|---|---|
| RGB | rgb(74, 87, 229) |
| HSL | hsl(235, 75%, 59%) |
| HSV | hsv(235, 68%, 90%) |
| CMYK | cmyk(67.7%, 62%, 0%, 10.2%) |
| CIE-LAB | lab(44.13, 40.04, -73.53) |
| CIE-LCH | lch(44.13, 83.73, 298.57°) |
| OKLab | oklab(53.44% 0.0105 -0.2122) |
| OKLCH | oklch(53.44% 0.212 272.8) |
| XYZ | xyz(20.3704, 13.9275, 75.7283) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.27
Electric Blue
#0652FF
ΔE00 3.84
Azul
#1D5DEC
ΔE00 4.33
Dark Periwinkle
#665FD1
ΔE00 4.86
Iris
#6258C4
ΔE00 5.42
Slate Blue
#6A5ACD
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A57E5 #E5D84A
analogous
#4AA4E5 #4A57E5 #8B4AE5
triadic
#4A57E5 #E54A57 #57E54A
tetradic
#4A57E5 #E54AA4 #E5D84A #4AE58B
square
#4A57E5 #E54AA4 #E5D84A #4AE58B
split-complementary
#4A57E5 #E58B4A #A4E54A
monochromatic
#17229E #1E2ED3 #4A57E5 #8089ED #B5BAF4
Accessibility & contrast
On white
5.55
#4A57E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#4A57E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A57E5
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A57E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A57E5 | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4a57e5; /* rgb */ color: rgb(74, 87, 229); /* oklch */ color: oklch(53.4% 0.212 272.8);
Tailwind
colors: {
custom: {
50: '#8f86ee',
500: '#4a57e5',
950: '#000000',
},
}SCSS
$custom: #4a57e5; $custom-light: #8f86ee; $custom-dark: #000000;
JSON
{
"hex": "#4a57e5",
"rgb": {
"r": 74,
"g": 87,
"b": 229
},
"hsl": {
"h": 234.968,
"s": 74.879,
"l": 59.412
},
"oklch": {
"l": 0.53441,
"c": 0.21243,
"h": 272.8
},
"luminance": 0.13929
}Semantic roles & 50–950 ramp
primary
#4A57E5
secondary
#E4DFA7
accent
#E236F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85