#5F57DE#5F57DE
#5F57DE is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.3% C 0.199 H 280.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5F57DE |
|---|---|
| RGB | rgb(95, 87, 222) |
| HSL | hsl(244, 67%, 61%) |
| HSV | hsv(244, 61%, 87%) |
| CMYK | cmyk(57.2%, 60.8%, 0%, 12.9%) |
| CIE-LAB | lab(44.97, 40.93, -68.12) |
| CIE-LCH | lch(44.97, 79.47, 301.00°) |
| OKLab | oklab(54.25% 0.0349 -0.1957) |
| OKLCH | oklch(54.25% 0.199 280.1) |
| XYZ | xyz(21.3082, 14.5218, 70.7732) |
| Luminance | 0.1452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.95
Slate Blue
#6A5ACD
ΔE00 3.02
Dark Periwinkle
#665FD1
ΔE00 3.02
Light Indigo
#6D5ACF
ΔE00 3.16
Iris
#6258C4
ΔE00 3.69
Purpleish Blue
#6140EF
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F57DE #D6DE57
analogous
#5792DE #5F57DE #A357DE
triadic
#5F57DE #DE5F57 #57DE5F
tetradic
#5F57DE #DE5792 #D6DE57 #57DEA3
square
#5F57DE #DE5792 #D6DE57 #57DEA3
split-complementary
#5F57DE #DEA357 #92DE57
monochromatic
#261F9C #3329CF #5F57DE #908AE8 #C0BDF2
Accessibility & contrast
On white
5.38
#5F57DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#5F57DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F57DE
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F57DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F57DE | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#0065DB
Tritanopia (blue-blind)
#117892
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5f57de; /* rgb */ color: rgb(95, 87, 222); /* oklch */ color: oklch(54.3% 0.199 280.1);
Tailwind
colors: {
custom: {
50: '#9887e9',
500: '#5f57de',
950: '#000000',
},
}SCSS
$custom: #5f57de; $custom-light: #9887e9; $custom-dark: #000000;
JSON
{
"hex": "#5f57de",
"rgb": {
"r": 95,
"g": 87,
"b": 222
},
"hsl": {
"h": 243.556,
"s": 67.164,
"l": 60.588
},
"oklch": {
"l": 0.5425,
"c": 0.19883,
"h": 280.1
},
"luminance": 0.14523
}Semantic roles & 50–950 ramp
primary
#5F57DE
secondary
#DFE2AF
accent
#CF16C4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84