#5D5DCF#5D5DCF
#5D5DCF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.172 H 279.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5DCF |
|---|---|
| RGB | rgb(93, 93, 207) |
| HSL | hsl(240, 54%, 59%) |
| HSV | hsv(240, 55%, 81%) |
| CMYK | cmyk(55.1%, 55.1%, 0%, 18.8%) |
| CIE-LAB | lab(45.16, 32.20, -59.25) |
| CIE-LCH | lch(45.16, 67.43, 298.52°) |
| OKLab | oklab(54.02% 0.0268 -0.1697) |
| OKLCH | oklch(54.02% 0.172 279) |
| XYZ | xyz(19.6875, 14.6596, 60.8115) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.66
Iris
#6258C4
ΔE00 2.57
Slate Blue
#6A5ACD
ΔE00 2.72
Warm Blue
#4B57DB
ΔE00 3.18
Light Indigo
#6D5ACF
ΔE00 3.21
Royal Blue
#4169E1
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5DCF #CFCF5D
analogous
#5D96CF #5D5DCF #965DCF
triadic
#5D5DCF #CF5D5D #5DCF5D
tetradic
#5D5DCF #CF5D96 #CFCF5D #5DCF96
square
#5D5DCF #CF5D96 #CFCF5D #5DCF96
split-complementary
#5D5DCF #CF965D #96CF5D
monochromatic
#292989 #3737B8 #5D5DCF #8C8CDD #BBBBEB
Accessibility & contrast
On white
5.34
#5D5DCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#5D5DCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5DCF
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5DCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5DCF | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D70D3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#24778D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5d5dcf; /* rgb */ color: rgb(93, 93, 207); /* oklch */ color: oklch(54.0% 0.172 279.0);
Tailwind
colors: {
custom: {
50: '#948bde',
500: '#5d5dcf',
950: '#000000',
},
}SCSS
$custom: #5d5dcf; $custom-light: #948bde; $custom-dark: #000000;
JSON
{
"hex": "#5d5dcf",
"rgb": {
"r": 93,
"g": 93,
"b": 207
},
"hsl": {
"h": 240,
"s": 54.286,
"l": 58.824
},
"oklch": {
"l": 0.54016,
"c": 0.17176,
"h": 279
},
"luminance": 0.14661
}Semantic roles & 50–950 ramp
primary
#5D5DCF
secondary
#DADAAD
accent
#DE4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83