#5C56DC#5C56DC
#5C56DC is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.7% C 0.198 H 279.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #5C56DC |
|---|---|
| RGB | rgb(92, 86, 220) |
| HSL | hsl(243, 66%, 60%) |
| HSV | hsv(243, 61%, 86%) |
| CMYK | cmyk(58.2%, 60.9%, 0%, 13.7%) |
| CIE-LAB | lab(44.37, 40.39, -67.97) |
| CIE-LCH | lch(44.37, 79.07, 300.72°) |
| OKLab | oklab(53.71% 0.0323 -0.1954) |
| OKLCH | oklch(53.71% 0.198 279.4) |
| XYZ | xyz(20.6556, 14.0967, 69.3288) |
| Luminance | 0.1410 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.50
Slate Blue
#6A5ACD
ΔE00 3.19
Dark Periwinkle
#665FD1
ΔE00 3.27
Light Indigo
#6D5ACF
ΔE00 3.42
Iris
#6258C4
ΔE00 3.52
Purpleish Blue
#6140EF
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C56DC #D6DC56
analogous
#5693DC #5C56DC #9F56DC
triadic
#5C56DC #DC5C56 #56DC5C
tetradic
#5C56DC #DC5693 #D6DC56 #56DC9F
square
#5C56DC #DC5693 #D6DC56 #56DC9F
split-complementary
#5C56DC #DC9F56 #93DC56
monochromatic
#252098 #312ACB #5C56DC #8D89E6 #BEBBF1
Accessibility & contrast
On white
5.50
#5C56DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#5C56DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C56DC
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C56DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C56DC | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5c56dc; /* rgb */ color: rgb(92, 86, 220); /* oklch */ color: oklch(53.7% 0.198 279.4);
Tailwind
colors: {
custom: {
50: '#9686e8',
500: '#5c56dc',
950: '#000000',
},
}SCSS
$custom: #5c56dc; $custom-light: #9686e8; $custom-dark: #000000;
JSON
{
"hex": "#5c56dc",
"rgb": {
"r": 92,
"g": 86,
"b": 220
},
"hsl": {
"h": 242.687,
"s": 65.686,
"l": 60
},
"oklch": {
"l": 0.53706,
"c": 0.19804,
"h": 279.4
},
"luminance": 0.14098
}Semantic roles & 50–950 ramp
primary
#5C56DC
secondary
#DEE1AD
accent
#E93FE1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84