#4F57D2#4F57D2
#4F57D2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.187 H 275.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4F57D2 |
|---|---|
| RGB | rgb(79, 87, 210) |
| HSL | hsl(236, 59%, 57%) |
| HSV | hsv(236, 62%, 82%) |
| CMYK | cmyk(62.4%, 58.6%, 0%, 17.6%) |
| CIE-LAB | lab(42.96, 34.38, -64.59) |
| CIE-LCH | lch(42.96, 73.17, 298.03°) |
| OKLab | oklab(52.2% 0.0165 -0.1858) |
| OKLCH | oklch(52.2% 0.187 275.1) |
| XYZ | xyz(18.2617, 13.1303, 62.5323) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.21
Iris
#6258C4
ΔE00 3.63
Dark Periwinkle
#665FD1
ΔE00 4.13
Slate Blue
#6A5ACD
ΔE00 4.48
Light Indigo
#6D5ACF
ΔE00 4.98
Azul
#1D5DEC
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F57D2 #D2CA4F
analogous
#4F99D2 #4F57D2 #894FD2
triadic
#4F57D2 #D24F57 #57D24F
tetradic
#4F57D2 #D24F99 #D2CA4F #4FD289
square
#4F57D2 #D24F99 #D2CA4F #4FD289
split-complementary
#4F57D2 #D2894F #99D24F
monochromatic
#222885 #2E37B5 #4F57D2 #8086DE #B0B4EB
Accessibility & contrast
On white
5.79
#4F57D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#4F57D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F57D2
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F57D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F57D2 | 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)
#006BD6
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4f57d2; /* rgb */ color: rgb(79, 87, 210); /* oklch */ color: oklch(52.2% 0.187 275.1);
Tailwind
colors: {
custom: {
50: '#8e86e1',
500: '#4f57d2',
950: '#000000',
},
}SCSS
$custom: #4f57d2; $custom-light: #8e86e1; $custom-dark: #000000;
JSON
{
"hex": "#4f57d2",
"rgb": {
"r": 79,
"g": 87,
"b": 210
},
"hsl": {
"h": 236.336,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.52198,
"c": 0.18652,
"h": 275.1
},
"luminance": 0.13132
}Semantic roles & 50–950 ramp
primary
#4F57D2
secondary
#D9D6A4
accent
#D945E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83