#5D5FF1#5D5FF1
#5D5FF1 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 56.9% C 0.214 H 276.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5FF1 |
|---|---|
| RGB | rgb(93, 95, 241) |
| HSL | hsl(239, 84%, 65%) |
| HSV | hsv(239, 61%, 95%) |
| CMYK | cmyk(61.4%, 60.6%, 0%, 5.5%) |
| CIE-LAB | lab(48.08, 41.89, -73.79) |
| CIE-LCH | lch(48.08, 84.85, 299.59°) |
| OKLab | oklab(56.95% 0.0246 -0.2124) |
| OKLCH | oklch(56.95% 0.214 276.6) |
| XYZ | xyz(24.4784, 16.8605, 85.1665) |
| Luminance | 0.1686 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.38
Warm Blue
#4B57DB
ΔE00 4.75
Mediumslateblue
#7B68EE
ΔE00 5.21
Light Indigo
#6D5ACF
ΔE00 5.54
Slate Blue
#6A5ACD
ΔE00 5.57
Royal Blue
#4169E1
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5FF1 #F1EF5D
analogous
#5DA9F1 #5D5FF1 #A55DF1
triadic
#5D5FF1 #F15D5F #5FF15D
tetradic
#5D5FF1 #F15DA9 #F1EF5D #5DF1A5
square
#5D5FF1 #F15DA9 #F1EF5D #5DF1A5
split-complementary
#5D5FF1 #F1A55D #A9F15D
monochromatic
#1113C3 #2527EC #5D5FF1 #9597F6 #CECEFB
Accessibility & contrast
On white
4.80
#5D5FF1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#5D5FF1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5FF1
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5FF1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5FF1 | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#006CEE
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5d5ff1; /* rgb */ color: rgb(93, 95, 241); /* oklch */ color: oklch(56.9% 0.214 276.6);
Tailwind
colors: {
custom: {
50: '#998cf7',
500: '#5d5ff1',
950: '#000000',
},
}SCSS
$custom: #5d5ff1; $custom-light: #998cf7; $custom-dark: #000000;
JSON
{
"hex": "#5d5ff1",
"rgb": {
"r": 93,
"g": 95,
"b": 241
},
"hsl": {
"h": 239.189,
"s": 84.091,
"l": 65.49
},
"oklch": {
"l": 0.56948,
"c": 0.21381,
"h": 276.6
},
"luminance": 0.16862
}Semantic roles & 50–950 ramp
primary
#5D5FF1
secondary
#EEEDBC
accent
#DE05E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85