#4A57D6#4A57D6
#4A57D6 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.193 H 273.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4A57D6 |
|---|---|
| RGB | rgb(74, 87, 214) |
| HSL | hsl(234, 63%, 56%) |
| HSV | hsv(234, 65%, 84%) |
| CMYK | cmyk(65.4%, 59.3%, 0%, 16.1%) |
| CIE-LAB | lab(42.95, 34.96, -66.91) |
| CIE-LCH | lch(42.95, 75.49, 297.59°) |
| OKLab | oklab(52.21% 0.0109 -0.1927) |
| OKLCH | oklch(52.21% 0.193 273.2) |
| XYZ | xyz(18.3658, 13.1256, 65.1709) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.71
Iris
#6258C4
ΔE00 4.41
Dark Periwinkle
#665FD1
ΔE00 4.65
Azul
#1D5DEC
ΔE00 4.69
Electric Blue
#0652FF
ΔE00 5.08
Slate Blue
#6A5ACD
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A57D6 #D6C94A
analogous
#4A9DD6 #4A57D6 #834AD6
triadic
#4A57D6 #D64A57 #57D64A
tetradic
#4A57D6 #D64A9D #D6C94A #4AD683
square
#4A57D6 #D64A9D #D6C94A #4AD683
split-complementary
#4A57D6 #D6834A #9DD64A
monochromatic
#1F2887 #2A37B9 #4A57D6 #7C85E1 #AEB4ED
Accessibility & contrast
On white
5.79
#4A57D6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#4A57D6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A57D6
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A57D6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A57D6 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#005FD3
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4a57d6; /* rgb */ color: rgb(74, 87, 214); /* oklch */ color: oklch(52.2% 0.193 273.2);
Tailwind
colors: {
custom: {
50: '#8c86e4',
500: '#4a57d6',
950: '#000000',
},
}SCSS
$custom: #4a57d6; $custom-light: #8c86e4; $custom-dark: #000000;
JSON
{
"hex": "#4a57d6",
"rgb": {
"r": 74,
"g": 87,
"b": 214
},
"hsl": {
"h": 234.429,
"s": 63.063,
"l": 56.471
},
"oklch": {
"l": 0.52206,
"c": 0.19304,
"h": 273.2
},
"luminance": 0.13127
}Semantic roles & 50–950 ramp
primary
#4A57D6
secondary
#DBD5A1
accent
#D742E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84