#5D56DC#5D56DC
#5D56DC is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.8% C 0.198 H 279.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5D56DC |
|---|---|
| RGB | rgb(93, 86, 220) |
| HSL | hsl(243, 66%, 60%) |
| HSV | hsv(243, 61%, 86%) |
| CMYK | cmyk(57.7%, 60.9%, 0%, 13.7%) |
| CIE-LAB | lab(44.45, 40.56, -67.85) |
| CIE-LCH | lch(44.45, 79.05, 300.87°) |
| OKLab | oklab(53.78% 0.0335 -0.195) |
| OKLCH | oklch(53.78% 0.198 279.7) |
| XYZ | xyz(20.7562, 14.1486, 69.3335) |
| Luminance | 0.1415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.65
Slate Blue
#6A5ACD
ΔE00 3.09
Dark Periwinkle
#665FD1
ΔE00 3.22
Light Indigo
#6D5ACF
ΔE00 3.31
Iris
#6258C4
ΔE00 3.49
Purpleish Blue
#6140EF
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D56DC #D5DC56
analogous
#5692DC #5D56DC #A056DC
triadic
#5D56DC #DC5D56 #56DC5D
tetradic
#5D56DC #DC5692 #D5DC56 #56DCA0
square
#5D56DC #DC5692 #D5DC56 #56DCA0
split-complementary
#5D56DC #DCA056 #92DC56
monochromatic
#262098 #322ACB #5D56DC #8E89E6 #BEBBF1
Accessibility & contrast
On white
5.48
#5D56DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#5D56DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D56DC
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D56DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D56DC | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#087791
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5d56dc; /* rgb */ color: rgb(93, 86, 220); /* oklch */ color: oklch(53.8% 0.198 279.7);
Tailwind
colors: {
custom: {
50: '#9686e8',
500: '#5d56dc',
950: '#000000',
},
}SCSS
$custom: #5d56dc; $custom-light: #9686e8; $custom-dark: #000000;
JSON
{
"hex": "#5d56dc",
"rgb": {
"r": 93,
"g": 86,
"b": 220
},
"hsl": {
"h": 243.134,
"s": 65.686,
"l": 60
},
"oklch": {
"l": 0.53779,
"c": 0.19785,
"h": 279.7
},
"luminance": 0.1415
}Semantic roles & 50–950 ramp
primary
#5D56DC
secondary
#DEE1AD
accent
#E93FE0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84