#5F57DA#5F57DA
#5F57DA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.9% C 0.194 H 280.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5F57DA |
|---|---|
| RGB | rgb(95, 87, 218) |
| HSL | hsl(244, 64%, 60%) |
| HSV | hsv(244, 60%, 85%) |
| CMYK | cmyk(56.4%, 60.1%, 0%, 14.5%) |
| CIE-LAB | lab(44.67, 39.68, -66.33) |
| CIE-LCH | lch(44.67, 77.29, 300.89°) |
| OKLab | oklab(53.94% 0.0351 -0.1905) |
| OKLCH | oklch(53.94% 0.194 280.4) |
| XYZ | xyz(20.7784, 14.3099, 67.9832) |
| Luminance | 0.1431 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.67
Dark Periwinkle
#665FD1
ΔE00 2.80
Warm Blue
#4B57DB
ΔE00 2.88
Light Indigo
#6D5ACF
ΔE00 2.89
Iris
#6258C4
ΔE00 3.17
Purpleish Blue
#6140EF
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F57DA #D2DA57
analogous
#5791DA #5F57DA #A057DA
triadic
#5F57DA #DA5F57 #57DA5F
tetradic
#5F57DA #DA5791 #D2DA57 #57DAA0
square
#5F57DA #DA5791 #D2DA57 #57DAA0
split-complementary
#5F57DA #DAA057 #91DA57
monochromatic
#282196 #362CC8 #5F57DA #8F89E5 #BFBBF0
Accessibility & contrast
On white
5.44
#5F57DA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#5F57DA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F57DA
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F57DA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F57DA | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#1B7790
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5f57da; /* rgb */ color: rgb(95, 87, 218); /* oklch */ color: oklch(53.9% 0.194 280.4);
Tailwind
colors: {
custom: {
50: '#9787e6',
500: '#5f57da',
950: '#000000',
},
}SCSS
$custom: #5f57da; $custom-light: #9787e6; $custom-dark: #000000;
JSON
{
"hex": "#5f57da",
"rgb": {
"r": 95,
"g": 87,
"b": 218
},
"hsl": {
"h": 243.664,
"s": 63.902,
"l": 59.804
},
"oklch": {
"l": 0.53938,
"c": 0.19367,
"h": 280.4
},
"luminance": 0.14311
}Semantic roles & 50–950 ramp
primary
#5F57DA
secondary
#DDE0AD
accent
#E741DD
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0B16
muted
#7E7C84