#5D5FDC#5D5FDC
#5D5FDC is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.3% C 0.187 H 277.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5FDC |
|---|---|
| RGB | rgb(93, 95, 220) |
| HSL | hsl(239, 64%, 61%) |
| HSV | hsv(239, 58%, 86%) |
| CMYK | cmyk(57.7%, 56.8%, 0%, 13.7%) |
| CIE-LAB | lab(46.55, 35.14, -64.43) |
| CIE-LCH | lch(46.55, 73.39, 298.61°) |
| OKLab | oklab(55.33% 0.025 -0.1849) |
| OKLCH | oklch(55.33% 0.187 277.7) |
| XYZ | xyz(21.5205, 15.6773, 69.5883) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.12
Warm Blue
#4B57DB
ΔE00 3.29
Slate Blue
#6A5ACD
ΔE00 3.64
Light Indigo
#6D5ACF
ΔE00 3.88
Iris
#6258C4
ΔE00 4.27
Royal Blue
#4169E1
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5FDC #DCDA5D
analogous
#5D9FDC #5D5FDC #9B5DDC
triadic
#5D5FDC #DC5D5F #5FDC5D
tetradic
#5D5FDC #DC5D9F #DCDA5D #5DDC9B
square
#5D5FDC #DC5D9F #DCDA5D #5DDC9B
split-complementary
#5D5FDC #DC9B5D #9FDC5D
monochromatic
#22249D #2D2FCF #5D5FDC #8F91E7 #C2C2F2
Accessibility & contrast
On white
5.08
#5D5FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#5D5FDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5FDC
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5FDC | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#027D94
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5d5fdc; /* rgb */ color: rgb(93, 95, 220); /* oklch */ color: oklch(55.3% 0.187 277.7);
Tailwind
colors: {
custom: {
50: '#968ce8',
500: '#5d5fdc',
950: '#000000',
},
}SCSS
$custom: #5d5fdc; $custom-light: #968ce8; $custom-dark: #000000;
JSON
{
"hex": "#5d5fdc",
"rgb": {
"r": 93,
"g": 95,
"b": 220
},
"hsl": {
"h": 239.055,
"s": 64.467,
"l": 61.373
},
"oklch": {
"l": 0.55331,
"c": 0.18657,
"h": 277.7
},
"luminance": 0.15679
}Semantic roles & 50–950 ramp
primary
#5D5FDC
secondary
#E2E1B3
accent
#C919CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84