#5D5DCC#5D5DCC
#5D5DCC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.168 H 279.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5DCC |
|---|---|
| RGB | rgb(93, 93, 204) |
| HSL | hsl(240, 52%, 58%) |
| HSV | hsv(240, 54%, 80%) |
| CMYK | cmyk(54.4%, 54.4%, 0%, 20%) |
| CIE-LAB | lab(44.96, 31.24, -57.85) |
| CIE-LCH | lch(44.96, 65.75, 298.37°) |
| OKLab | oklab(53.8% 0.0267 -0.1655) |
| OKLCH | oklch(53.8% 0.168 279.2) |
| XYZ | xyz(19.3242, 14.5143, 58.8983) |
| Luminance | 0.1452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.80
Iris
#6258C4
ΔE00 2.33
Slate Blue
#6A5ACD
ΔE00 2.74
Light Indigo
#6D5ACF
ΔE00 3.27
Warm Blue
#4B57DB
ΔE00 3.40
Royal Blue
#4169E1
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5DCC #CCCC5D
analogous
#5D94CC #5D5DCC #945DCC
triadic
#5D5DCC #CC5D5D #5DCC5D
tetradic
#5D5DCC #CC5D94 #CCCC5D #5DCC94
square
#5D5DCC #CC5D94 #CCCC5D #5DCC94
split-complementary
#5D5DCC #CC945D #94CC5D
monochromatic
#2A2A85 #3838B3 #5D5DCC #8C8CDB #BABAE9
Accessibility & contrast
On white
5.38
#5D5DCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#5D5DCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5DCC
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5DCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5DCC | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#166FD0
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#28768B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5d5dcc; /* rgb */ color: rgb(93, 93, 204); /* oklch */ color: oklch(53.8% 0.168 279.2);
Tailwind
colors: {
custom: {
50: '#948bdc',
500: '#5d5dcc',
950: '#000000',
},
}SCSS
$custom: #5d5dcc; $custom-light: #948bdc; $custom-dark: #000000;
JSON
{
"hex": "#5d5dcc",
"rgb": {
"r": 93,
"g": 93,
"b": 204
},
"hsl": {
"h": 240,
"s": 52.113,
"l": 58.235
},
"oklch": {
"l": 0.53801,
"c": 0.16769,
"h": 279.2
},
"luminance": 0.14515
}Semantic roles & 50–950 ramp
primary
#5D5DCC
secondary
#D9D9AC
accent
#DC4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83