#5F57D2#5F57D2
#5F57D2 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.3% C 0.183 H 281.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #5F57D2 |
|---|---|
| RGB | rgb(95, 87, 210) |
| HSL | hsl(244, 58%, 58%) |
| HSV | hsv(244, 59%, 82%) |
| CMYK | cmyk(54.8%, 58.6%, 0%, 17.6%) |
| CIE-LAB | lab(44.09, 37.17, -62.70) |
| CIE-LCH | lch(44.09, 72.89, 300.66°) |
| OKLab | oklab(53.33% 0.0353 -0.1798) |
| OKLCH | oklch(53.33% 0.183 281.1) |
| XYZ | xyz(19.7568, 13.9012, 62.6024) |
| Luminance | 0.1390 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.12
Slate Blue
#6A5ACD
ΔE00 2.16
Light Indigo
#6D5ACF
ΔE00 2.57
Dark Periwinkle
#665FD1
ΔE00 2.60
Warm Blue
#4B57DB
ΔE00 3.05
Bluey Purple
#6241C7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F57D2 #CAD257
analogous
#578DD2 #5F57D2 #9C57D2
triadic
#5F57D2 #D25F57 #57D25F
tetradic
#5F57D2 #D2578D #CAD257 #57D29C
square
#5F57D2 #D2578D #CAD257 #57D29C
split-complementary
#5F57D2 #D29C57 #8DD257
monochromatic
#2B258A #3B32BA #5F57D2 #8D87DF #BBB8EC
Accessibility & contrast
On white
5.55
#5F57D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#5F57D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F57D2
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F57D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F57D2 | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#28748C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5f57d2; /* rgb */ color: rgb(95, 87, 210); /* oklch */ color: oklch(53.3% 0.183 281.1);
Tailwind
colors: {
custom: {
50: '#9687e1',
500: '#5f57d2',
950: '#000000',
},
}SCSS
$custom: #5f57d2; $custom-light: #9687e1; $custom-dark: #000000;
JSON
{
"hex": "#5f57d2",
"rgb": {
"r": 95,
"g": 87,
"b": 210
},
"hsl": {
"h": 243.902,
"s": 57.746,
"l": 58.235
},
"oklch": {
"l": 0.53325,
"c": 0.18324,
"h": 281.1
},
"luminance": 0.13902
}Semantic roles & 50–950 ramp
primary
#5F57D2
secondary
#D8DBAA
accent
#E147D7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83