#5D5FF0#5D5FF0
#5D5FF0 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.9% C 0.213 H 276.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5FF0 |
|---|---|
| RGB | rgb(93, 95, 240) |
| HSL | hsl(239, 83%, 65%) |
| HSV | hsv(239, 61%, 94%) |
| CMYK | cmyk(61.2%, 60.4%, 0%, 5.9%) |
| CIE-LAB | lab(48.01, 41.57, -73.35) |
| CIE-LCH | lch(48.01, 84.31, 299.54°) |
| OKLab | oklab(56.87% 0.0246 -0.2111) |
| OKLCH | oklch(56.87% 0.213 276.7) |
| XYZ | xyz(24.3295, 16.8009, 84.3820) |
| Luminance | 0.1680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.27
Warm Blue
#4B57DB
ΔE00 4.65
Mediumslateblue
#7B68EE
ΔE00 5.24
Light Indigo
#6D5ACF
ΔE00 5.44
Slate Blue
#6A5ACD
ΔE00 5.47
Royal Blue
#4169E1
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5FF0 #F0EE5D
analogous
#5DA8F0 #5D5FF0 #A55DF0
triadic
#5D5FF0 #F05D5F #5FF05D
tetradic
#5D5FF0 #F05DA8 #F0EE5D #5DF0A5
square
#5D5FF0 #F05DA8 #F0EE5D #5DF0A5
split-complementary
#5D5FF0 #F0A55D #A8F05D
monochromatic
#1214C1 #2528EB #5D5FF0 #9596F5 #CDCEFA
Accessibility & contrast
On white
4.82
#5D5FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#5D5FF0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5FF0
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5FF0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5FF0 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#006CED
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5d5ff0; /* rgb */ color: rgb(93, 95, 240); /* oklch */ color: oklch(56.9% 0.213 276.7);
Tailwind
colors: {
custom: {
50: '#998cf6',
500: '#5d5ff0',
950: '#000000',
},
}SCSS
$custom: #5d5ff0; $custom-light: #998cf6; $custom-dark: #000000;
JSON
{
"hex": "#5d5ff0",
"rgb": {
"r": 93,
"g": 95,
"b": 240
},
"hsl": {
"h": 239.184,
"s": 83.051,
"l": 65.294
},
"oklch": {
"l": 0.56869,
"c": 0.21254,
"h": 276.7
},
"luminance": 0.16803
}Semantic roles & 50–950 ramp
primary
#5D5FF0
secondary
#EDECBC
accent
#DD06DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85