#5D56CD#5D56CD
#5D56CD is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.178 H 281.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5D56CD |
|---|---|
| RGB | rgb(93, 86, 205) |
| HSL | hsl(244, 54%, 57%) |
| HSV | hsv(244, 58%, 80%) |
| CMYK | cmyk(54.6%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(43.34, 35.83, -61.04) |
| CIE-LCH | lch(43.34, 70.78, 300.41°) |
| OKLab | oklab(52.62% 0.034 -0.175) |
| OKLCH | oklch(52.62% 0.178 281) |
| XYZ | xyz(18.8580, 13.3893, 59.3365) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.67
Slate Blue
#6A5ACD
ΔE00 2.46
Light Indigo
#6D5ACF
ΔE00 2.96
Dark Periwinkle
#665FD1
ΔE00 3.06
Warm Blue
#4B57DB
ΔE00 3.15
Bluey Purple
#6241C7
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D56CD #C6CD56
analogous
#568BCD #5D56CD #9856CD
triadic
#5D56CD #CD5D56 #56CD5D
tetradic
#5D56CD #CD568B #C6CD56 #56CD98
square
#5D56CD #CD568B #C6CD56 #56CD98
split-complementary
#5D56CD #CD9856 #8BCD56
monochromatic
#2C2682 #3C34B1 #5D56CD #8A85DB #B8B4E9
Accessibility & contrast
On white
5.71
#5D56CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#5D56CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D56CD
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D56CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D56CD | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#287289
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5d56cd; /* rgb */ color: rgb(93, 86, 205); /* oklch */ color: oklch(52.6% 0.178 281.0);
Tailwind
colors: {
custom: {
50: '#9486dd',
500: '#5d56cd',
950: '#000000',
},
}SCSS
$custom: #5d56cd; $custom-light: #9486dd; $custom-dark: #000000;
JSON
{
"hex": "#5d56cd",
"rgb": {
"r": 93,
"g": 86,
"b": 205
},
"hsl": {
"h": 243.529,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.52622,
"c": 0.17825,
"h": 281
},
"luminance": 0.13391
}Semantic roles & 50–950 ramp
primary
#5D56CD
secondary
#D5D8A7
accent
#DE4AD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83