#5A56DC#5A56DC
#5A56DC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.6% C 0.198 H 278.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #5A56DC |
|---|---|
| RGB | rgb(90, 86, 220) |
| HSL | hsl(242, 66%, 60%) |
| HSV | hsv(242, 61%, 86%) |
| CMYK | cmyk(59.1%, 60.9%, 0%, 13.7%) |
| CIE-LAB | lab(44.23, 40.06, -68.22) |
| CIE-LCH | lch(44.23, 79.11, 300.42°) |
| OKLab | oklab(53.56% 0.0298 -0.1962) |
| OKLCH | oklch(53.56% 0.198 278.6) |
| XYZ | xyz(20.4584, 13.9951, 69.3195) |
| Luminance | 0.1400 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.20
Dark Periwinkle
#665FD1
ΔE00 3.39
Slate Blue
#6A5ACD
ΔE00 3.40
Iris
#6258C4
ΔE00 3.59
Light Indigo
#6D5ACF
ΔE00 3.66
Purpleish Blue
#6140EF
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A56DC #D8DC56
analogous
#5695DC #5A56DC #9D56DC
triadic
#5A56DC #DC5A56 #56DC5A
tetradic
#5A56DC #DC5695 #D8DC56 #56DC9D
square
#5A56DC #DC5695 #D8DC56 #56DC9D
split-complementary
#5A56DC #DC9D56 #95DC56
monochromatic
#232098 #2F2ACB #5A56DC #8C89E6 #BDBBF1
Accessibility & contrast
On white
5.53
#5A56DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#5A56DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A56DC
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A56DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A56DC | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 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: #5a56dc; /* rgb */ color: rgb(90, 86, 220); /* oklch */ color: oklch(53.6% 0.198 278.6);
Tailwind
colors: {
custom: {
50: '#9586e8',
500: '#5a56dc',
950: '#000000',
},
}SCSS
$custom: #5a56dc; $custom-light: #9586e8; $custom-dark: #000000;
JSON
{
"hex": "#5a56dc",
"rgb": {
"r": 90,
"g": 86,
"b": 220
},
"hsl": {
"h": 241.791,
"s": 65.686,
"l": 60
},
"oklch": {
"l": 0.53562,
"c": 0.19842,
"h": 278.6
},
"luminance": 0.13997
}Semantic roles & 50–950 ramp
primary
#5A56DC
secondary
#DFE1AD
accent
#E93FE4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84