#4F57D5#4F57D5
#4F57D5 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.4% C 0.190 H 274.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4F57D5 |
|---|---|
| RGB | rgb(79, 87, 213) |
| HSL | hsl(236, 61%, 57%) |
| HSV | hsv(236, 63%, 84%) |
| CMYK | cmyk(62.9%, 59.2%, 0%, 16.5%) |
| CIE-LAB | lab(43.18, 35.39, -65.94) |
| CIE-LCH | lch(43.18, 74.84, 298.22°) |
| OKLab | oklab(52.43% 0.0164 -0.1898) |
| OKLCH | oklch(52.43% 0.19 274.9) |
| XYZ | xyz(18.6389, 13.2812, 64.5192) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.86
Iris
#6258C4
ΔE00 3.81
Dark Periwinkle
#665FD1
ΔE00 4.10
Slate Blue
#6A5ACD
ΔE00 4.49
Light Indigo
#6D5ACF
ΔE00 4.96
Azul
#1D5DEC
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F57D5 #D5CD4F
analogous
#4F9AD5 #4F57D5 #8A4FD5
triadic
#4F57D5 #D54F57 #57D54F
tetradic
#4F57D5 #D54F9A #D5CD4F #4FD58A
square
#4F57D5 #D54F9A #D5CD4F #4FD58A
split-complementary
#4F57D5 #D58A4F #9AD54F
monochromatic
#212789 #2C35BA #4F57D5 #8086E1 #B2B5ED
Accessibility & contrast
On white
5.74
#4F57D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#4F57D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F57D5
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F57D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F57D5 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4f57d5; /* rgb */ color: rgb(79, 87, 213); /* oklch */ color: oklch(52.4% 0.190 274.9);
Tailwind
colors: {
custom: {
50: '#8e86e3',
500: '#4f57d5',
950: '#000000',
},
}SCSS
$custom: #4f57d5; $custom-light: #8e86e3; $custom-dark: #000000;
JSON
{
"hex": "#4f57d5",
"rgb": {
"r": 79,
"g": 87,
"b": 213
},
"hsl": {
"h": 236.418,
"s": 61.468,
"l": 57.255
},
"oklch": {
"l": 0.52435,
"c": 0.19048,
"h": 274.9
},
"luminance": 0.13283
}Semantic roles & 50–950 ramp
primary
#4F57D5
secondary
#DBD8A5
accent
#DB43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84