#5A55DC#5A55DC
#5A55DC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.4% C 0.200 H 278.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #5A55DC |
|---|---|
| RGB | rgb(90, 85, 220) |
| HSL | hsl(242, 66%, 60%) |
| HSV | hsv(242, 61%, 86%) |
| CMYK | cmyk(59.1%, 61.4%, 0%, 13.7%) |
| CIE-LAB | lab(44.00, 40.65, -68.59) |
| CIE-LCH | lch(44.00, 79.73, 300.66°) |
| OKLab | oklab(53.39% 0.0307 -0.1973) |
| OKLCH | oklch(53.39% 0.2 278.9) |
| XYZ | xyz(20.3791, 13.8365, 69.2931) |
| Luminance | 0.1384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.31
Slate Blue
#6A5ACD
ΔE00 3.47
Dark Periwinkle
#665FD1
ΔE00 3.60
Iris
#6258C4
ΔE00 3.62
Light Indigo
#6D5ACF
ΔE00 3.72
Purpleish Blue
#6140EF
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A55DC #D7DC55
analogous
#5594DC #5A55DC #9D55DC
triadic
#5A55DC #DC5A55 #55DC5A
tetradic
#5A55DC #DC5594 #D7DC55 #55DC9D
square
#5A55DC #DC5594 #D7DC55 #55DC9D
split-complementary
#5A55DC #DC9D55 #94DC55
monochromatic
#241F97 #302ACA #5A55DC #8B88E6 #BDBBF1
Accessibility & contrast
On white
5.57
#5A55DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#5A55DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A55DC
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A55DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A55DC | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5a55dc; /* rgb */ color: rgb(90, 85, 220); /* oklch */ color: oklch(53.4% 0.200 278.9);
Tailwind
colors: {
custom: {
50: '#9585e8',
500: '#5a55dc',
950: '#000000',
},
}SCSS
$custom: #5a55dc; $custom-light: #9585e8; $custom-dark: #000000;
JSON
{
"hex": "#5a55dc",
"rgb": {
"r": 90,
"g": 85,
"b": 220
},
"hsl": {
"h": 242.222,
"s": 65.854,
"l": 59.804
},
"oklch": {
"l": 0.53394,
"c": 0.19964,
"h": 278.9
},
"luminance": 0.13838
}Semantic roles & 50–950 ramp
primary
#5A55DC
secondary
#DFE0AC
accent
#E93FE3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84