#5D5DCD#5D5DCD
#5D5DCD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.169 H 279.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5DCD |
|---|---|
| RGB | rgb(93, 93, 205) |
| HSL | hsl(240, 53%, 58%) |
| HSV | hsv(240, 55%, 80%) |
| CMYK | cmyk(54.6%, 54.6%, 0%, 19.6%) |
| CIE-LAB | lab(45.03, 31.56, -58.32) |
| CIE-LCH | lch(45.03, 66.31, 298.42°) |
| OKLab | oklab(53.87% 0.0267 -0.1669) |
| OKLCH | oklch(53.87% 0.169 279.1) |
| XYZ | xyz(19.4445, 14.5624, 59.5320) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.74
Iris
#6258C4
ΔE00 2.41
Slate Blue
#6A5ACD
ΔE00 2.72
Light Indigo
#6D5ACF
ΔE00 3.24
Warm Blue
#4B57DB
ΔE00 3.32
Royal Blue
#4169E1
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5DCD #CDCD5D
analogous
#5D95CD #5D5DCD #955DCD
triadic
#5D5DCD #CD5D5D #5DCD5D
tetradic
#5D5DCD #CD5D95 #CDCD5D #5DCD95
square
#5D5DCD #CD5D95 #CDCD5D #5DCD95
split-complementary
#5D5DCD #CD955D #95CD5D
monochromatic
#292986 #3838B5 #5D5DCD #8C8CDB #BBBBEA
Accessibility & contrast
On white
5.37
#5D5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#5D5DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5DCD
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5DCD | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#146FD1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#27778C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5d5dcd; /* rgb */ color: rgb(93, 93, 205); /* oklch */ color: oklch(53.9% 0.169 279.1);
Tailwind
colors: {
custom: {
50: '#948bdd',
500: '#5d5dcd',
950: '#000000',
},
}SCSS
$custom: #5d5dcd; $custom-light: #948bdd; $custom-dark: #000000;
JSON
{
"hex": "#5d5dcd",
"rgb": {
"r": 93,
"g": 93,
"b": 205
},
"hsl": {
"h": 240,
"s": 52.83,
"l": 58.431
},
"oklch": {
"l": 0.53872,
"c": 0.16905,
"h": 279.1
},
"luminance": 0.14564
}Semantic roles & 50–950 ramp
primary
#5D5DCD
secondary
#D9D9AD
accent
#DC4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83