#4F57D1#4F57D1
#4F57D1 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.185 H 275.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4F57D1 |
|---|---|
| RGB | rgb(79, 87, 209) |
| HSL | hsl(236, 59%, 56%) |
| HSV | hsv(236, 62%, 82%) |
| CMYK | cmyk(62.2%, 58.4%, 0%, 18%) |
| CIE-LAB | lab(42.88, 34.05, -64.14) |
| CIE-LCH | lch(42.88, 72.61, 297.96°) |
| OKLab | oklab(52.12% 0.0165 -0.1845) |
| OKLCH | oklch(52.12% 0.185 275.1) |
| XYZ | xyz(18.1375, 13.0806, 61.8782) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.33
Iris
#6258C4
ΔE00 3.58
Dark Periwinkle
#665FD1
ΔE00 4.15
Slate Blue
#6A5ACD
ΔE00 4.49
Light Indigo
#6D5ACF
ΔE00 5.00
Azul
#1D5DEC
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F57D1 #D1C94F
analogous
#4F98D1 #4F57D1 #884FD1
triadic
#4F57D1 #D14F57 #57D14F
tetradic
#4F57D1 #D14F98 #D1C94F #4FD188
square
#4F57D1 #D14F98 #D1C94F #4FD188
split-complementary
#4F57D1 #D1884F #98D14F
monochromatic
#222883 #2F37B4 #4F57D1 #8085DE #B0B4EA
Accessibility & contrast
On white
5.81
#4F57D1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#4F57D1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F57D1
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F57D1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F57D1 | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4f57d1; /* rgb */ color: rgb(79, 87, 209); /* oklch */ color: oklch(52.1% 0.185 275.1);
Tailwind
colors: {
custom: {
50: '#8d86e0',
500: '#4f57d1',
950: '#000000',
},
}SCSS
$custom: #4f57d1; $custom-light: #8d86e0; $custom-dark: #000000;
JSON
{
"hex": "#4f57d1",
"rgb": {
"r": 79,
"g": 87,
"b": 209
},
"hsl": {
"h": 236.308,
"s": 58.559,
"l": 56.471
},
"oklch": {
"l": 0.52119,
"c": 0.18519,
"h": 275.1
},
"luminance": 0.13082
}Semantic roles & 50–950 ramp
primary
#4F57D1
secondary
#D9D5A3
accent
#D846E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83