#5D5DF1#5D5DF1
#5D5DF1 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.6% C 0.216 H 277.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5DF1 |
|---|---|
| RGB | rgb(93, 93, 241) |
| HSL | hsl(240, 84%, 65%) |
| HSV | hsv(240, 61%, 95%) |
| CMYK | cmyk(61.4%, 61.4%, 0%, 5.5%) |
| CIE-LAB | lab(47.63, 43.08, -74.53) |
| CIE-LCH | lch(47.63, 86.08, 300.03°) |
| OKLab | oklab(56.61% 0.0263 -0.2146) |
| OKLCH | oklch(56.61% 0.216 277) |
| XYZ | xyz(24.3006, 16.5048, 85.1072) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.34
Warm Blue
#4B57DB
ΔE00 4.47
Light Indigo
#6D5ACF
ΔE00 5.31
Slate Blue
#6A5ACD
ΔE00 5.35
Mediumslateblue
#7B68EE
ΔE00 5.49
Electric Blue
#0652FF
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5DF1 #F1F15D
analogous
#5DA7F1 #5D5DF1 #A75DF1
triadic
#5D5DF1 #F15D5D #5DF15D
tetradic
#5D5DF1 #F15DA7 #F1F15D #5DF1A7
square
#5D5DF1 #F15DA7 #F1F15D #5DF1A7
split-complementary
#5D5DF1 #F1A75D #A7F15D
monochromatic
#1111C3 #2525EC #5D5DF1 #9595F6 #CECEFB
Accessibility & contrast
On white
4.88
#5D5DF1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#5D5DF1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5DF1
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5DF1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5DF1 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#006BEE
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5d5df1; /* rgb */ color: rgb(93, 93, 241); /* oklch */ color: oklch(56.6% 0.216 277.0);
Tailwind
colors: {
custom: {
50: '#998bf7',
500: '#5d5df1',
950: '#000000',
},
}SCSS
$custom: #5d5df1; $custom-light: #998bf7; $custom-dark: #000000;
JSON
{
"hex": "#5d5df1",
"rgb": {
"r": 93,
"g": 93,
"b": 241
},
"hsl": {
"h": 240,
"s": 84.091,
"l": 65.49
},
"oklch": {
"l": 0.56614,
"c": 0.21618,
"h": 277
},
"luminance": 0.16507
}Semantic roles & 50–950 ramp
primary
#5D5DF1
secondary
#EEEEBC
accent
#E105E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85