#4F57D7#4F57D7
#4F57D7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.193 H 274.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #4F57D7 |
|---|---|
| RGB | rgb(79, 87, 215) |
| HSL | hsl(236, 63%, 58%) |
| HSV | hsv(236, 63%, 84%) |
| CMYK | cmyk(63.3%, 59.5%, 0%, 15.7%) |
| CIE-LAB | lab(43.34, 36.06, -66.84) |
| CIE-LCH | lch(43.34, 75.95, 298.34°) |
| OKLab | oklab(52.6% 0.0164 -0.1924) |
| OKLCH | oklch(52.6% 0.193 274.9) |
| XYZ | xyz(18.8944, 13.3834, 65.8644) |
| Luminance | 0.1338 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.66
Iris
#6258C4
ΔE00 3.94
Dark Periwinkle
#665FD1
ΔE00 4.09
Slate Blue
#6A5ACD
ΔE00 4.51
Light Indigo
#6D5ACF
ΔE00 4.95
Azul
#1D5DEC
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F57D7 #D7CF4F
analogous
#4F9BD7 #4F57D7 #8B4FD7
triadic
#4F57D7 #D74F57 #57D74F
tetradic
#4F57D7 #D74F9B #D7CF4F #4FD78B
square
#4F57D7 #D74F9B #D7CF4F #4FD78B
split-complementary
#4F57D7 #D78B4F #9BD74F
monochromatic
#20268C #2B34BE #4F57D7 #8187E2 #B3B6EE
Accessibility & contrast
On white
5.71
#4F57D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#4F57D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F57D7
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F57D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F57D7 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4f57d7; /* rgb */ color: rgb(79, 87, 215); /* oklch */ color: oklch(52.6% 0.193 274.9);
Tailwind
colors: {
custom: {
50: '#8e86e4',
500: '#4f57d7',
950: '#000000',
},
}SCSS
$custom: #4f57d7; $custom-light: #8e86e4; $custom-dark: #000000;
JSON
{
"hex": "#4f57d7",
"rgb": {
"r": 79,
"g": 87,
"b": 215
},
"hsl": {
"h": 236.471,
"s": 62.963,
"l": 57.647
},
"oklch": {
"l": 0.52595,
"c": 0.19311,
"h": 274.9
},
"luminance": 0.13385
}Semantic roles & 50–950 ramp
primary
#4F57D7
secondary
#DCD9A6
accent
#DC42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84