#5F57DC#5F57DC
#5F57DC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.1% C 0.196 H 280.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5F57DC |
|---|---|
| RGB | rgb(95, 87, 220) |
| HSL | hsl(244, 66%, 60%) |
| HSV | hsv(244, 60%, 86%) |
| CMYK | cmyk(56.8%, 60.5%, 0%, 13.7%) |
| CIE-LAB | lab(44.82, 40.30, -67.23) |
| CIE-LCH | lch(44.82, 78.38, 300.94°) |
| OKLab | oklab(54.09% 0.035 -0.1931) |
| OKLCH | oklch(54.09% 0.196 280.3) |
| XYZ | xyz(21.0417, 14.4152, 69.3699) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.84
Warm Blue
#4B57DB
ΔE00 2.90
Dark Periwinkle
#665FD1
ΔE00 2.90
Light Indigo
#6D5ACF
ΔE00 3.02
Iris
#6258C4
ΔE00 3.43
Purpleish Blue
#6140EF
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F57DC #D4DC57
analogous
#5791DC #5F57DC #A157DC
triadic
#5F57DC #DC5F57 #57DC5F
tetradic
#5F57DC #DC5791 #D4DC57 #57DCA1
square
#5F57DC #DC5791 #D4DC57 #57DCA1
split-complementary
#5F57DC #DCA157 #91DC57
monochromatic
#272099 #342ACB #5F57DC #8F8AE7 #BFBCF1
Accessibility & contrast
On white
5.41
#5F57DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#5F57DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F57DC
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F57DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F57DC | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#177791
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5f57dc; /* rgb */ color: rgb(95, 87, 220); /* oklch */ color: oklch(54.1% 0.196 280.3);
Tailwind
colors: {
custom: {
50: '#9787e8',
500: '#5f57dc',
950: '#000000',
},
}SCSS
$custom: #5f57dc; $custom-light: #9787e8; $custom-dark: #000000;
JSON
{
"hex": "#5f57dc",
"rgb": {
"r": 95,
"g": 87,
"b": 220
},
"hsl": {
"h": 243.609,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.54094,
"c": 0.19625,
"h": 280.3
},
"luminance": 0.14417
}Semantic roles & 50–950 ramp
primary
#5F57DC
secondary
#DEE1AE
accent
#CD18C2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84