#5B56DC#5B56DC
#5B56DC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.6% C 0.198 H 279.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #5B56DC |
|---|---|
| RGB | rgb(91, 86, 220) |
| HSL | hsl(242, 66%, 60%) |
| HSV | hsv(242, 61%, 86%) |
| CMYK | cmyk(58.6%, 60.9%, 0%, 13.7%) |
| CIE-LAB | lab(44.30, 40.22, -68.09) |
| CIE-LCH | lch(44.30, 79.09, 300.57°) |
| OKLab | oklab(53.63% 0.0311 -0.1958) |
| OKLCH | oklch(53.63% 0.198 279) |
| XYZ | xyz(20.5563, 14.0456, 69.3241) |
| Luminance | 0.1405 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.35
Slate Blue
#6A5ACD
ΔE00 3.29
Dark Periwinkle
#665FD1
ΔE00 3.33
Light Indigo
#6D5ACF
ΔE00 3.54
Iris
#6258C4
ΔE00 3.55
Purpleish Blue
#6140EF
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B56DC #D7DC56
analogous
#5694DC #5B56DC #9E56DC
triadic
#5B56DC #DC5B56 #56DC5B
tetradic
#5B56DC #DC5694 #D7DC56 #56DC9E
square
#5B56DC #DC5694 #D7DC56 #56DC9E
split-complementary
#5B56DC #DC9E56 #94DC56
monochromatic
#242098 #302ACB #5B56DC #8C89E6 #BDBBF1
Accessibility & contrast
On white
5.51
#5B56DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#5B56DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B56DC
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B56DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B56DC | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5b56dc; /* rgb */ color: rgb(91, 86, 220); /* oklch */ color: oklch(53.6% 0.198 279.0);
Tailwind
colors: {
custom: {
50: '#9586e8',
500: '#5b56dc',
950: '#000000',
},
}SCSS
$custom: #5b56dc; $custom-light: #9586e8; $custom-dark: #000000;
JSON
{
"hex": "#5b56dc",
"rgb": {
"r": 91,
"g": 86,
"b": 220
},
"hsl": {
"h": 242.239,
"s": 65.686,
"l": 60
},
"oklch": {
"l": 0.53634,
"c": 0.19823,
"h": 279
},
"luminance": 0.14047
}Semantic roles & 50–950 ramp
primary
#5B56DC
secondary
#DFE1AD
accent
#E93FE2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84