#5D5FDD#5D5FDD
#5D5FDD is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.4% C 0.188 H 277.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5FDD |
|---|---|
| RGB | rgb(93, 95, 221) |
| HSL | hsl(239, 65%, 62%) |
| HSV | hsv(239, 58%, 87%) |
| CMYK | cmyk(57.9%, 57%, 0%, 13.3%) |
| CIE-LAB | lab(46.62, 35.47, -64.89) |
| CIE-LCH | lch(46.62, 73.95, 298.66°) |
| OKLab | oklab(55.41% 0.025 -0.1862) |
| OKLCH | oklch(55.41% 0.188 277.6) |
| XYZ | xyz(21.6534, 15.7305, 70.2878) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.21
Warm Blue
#4B57DB
ΔE00 3.31
Slate Blue
#6A5ACD
ΔE00 3.71
Light Indigo
#6D5ACF
ΔE00 3.93
Iris
#6258C4
ΔE00 4.38
Royal Blue
#4169E1
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5FDD #DDDB5D
analogous
#5D9FDD #5D5FDD #9B5DDD
triadic
#5D5FDD #DD5D5F #5FDD5D
tetradic
#5D5FDD #DD5D9F #DDDB5D #5DDD9B
square
#5D5FDD #DD5D9F #DDDB5D #5DDD9B
split-complementary
#5D5FDD #DD9B5D #9FDD5D
monochromatic
#21239E #2C2ED1 #5D5FDD #9091E8 #C2C3F2
Accessibility & contrast
On white
5.06
#5D5FDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#5D5FDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5FDD
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5FDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5FDD | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5d5fdd; /* rgb */ color: rgb(93, 95, 221); /* oklch */ color: oklch(55.4% 0.188 277.6);
Tailwind
colors: {
custom: {
50: '#968ce8',
500: '#5d5fdd',
950: '#000000',
},
}SCSS
$custom: #5d5fdd; $custom-light: #968ce8; $custom-dark: #000000;
JSON
{
"hex": "#5d5fdd",
"rgb": {
"r": 93,
"g": 95,
"b": 221
},
"hsl": {
"h": 239.063,
"s": 65.306,
"l": 61.569
},
"oklch": {
"l": 0.55406,
"c": 0.1879,
"h": 277.6
},
"luminance": 0.15732
}Semantic roles & 50–950 ramp
primary
#5D5FDD
secondary
#E3E2B3
accent
#CA18CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84