#5A55CD#5A55CD
#5A55CD is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.180 H 280.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5A55CD |
|---|---|
| RGB | rgb(90, 85, 205) |
| HSL | hsl(243, 55%, 57%) |
| HSV | hsv(243, 59%, 80%) |
| CMYK | cmyk(56.1%, 58.5%, 0%, 19.6%) |
| CIE-LAB | lab(42.88, 35.88, -61.81) |
| CIE-LCH | lch(42.88, 71.47, 300.13°) |
| OKLab | oklab(52.22% 0.0313 -0.1773) |
| OKLCH | oklch(52.22% 0.18 280) |
| XYZ | xyz(18.4809, 13.0772, 59.2961) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.04
Warm Blue
#4B57DB
ΔE00 2.86
Slate Blue
#6A5ACD
ΔE00 3.00
Light Indigo
#6D5ACF
ΔE00 3.50
Dark Periwinkle
#665FD1
ΔE00 3.51
Bluey Purple
#6241C7
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A55CD #C8CD55
analogous
#558CCD #5A55CD #9655CD
triadic
#5A55CD #CD5A55 #55CD5A
tetradic
#5A55CD #CD558C #C8CD55 #55CD96
square
#5A55CD #CD558C #C8CD55 #55CD96
split-complementary
#5A55CD #CD9655 #8CCD55
monochromatic
#2A2682 #3934B1 #5A55CD #8884DB #B6B4E9
Accessibility & contrast
On white
5.81
#5A55CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#5A55CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A55CD
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A55CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A55CD | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#1D7189
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5a55cd; /* rgb */ color: rgb(90, 85, 205); /* oklch */ color: oklch(52.2% 0.180 280.0);
Tailwind
colors: {
custom: {
50: '#9385dd',
500: '#5a55cd',
950: '#000000',
},
}SCSS
$custom: #5a55cd; $custom-light: #9385dd; $custom-dark: #000000;
JSON
{
"hex": "#5a55cd",
"rgb": {
"r": 90,
"g": 85,
"b": 205
},
"hsl": {
"h": 242.5,
"s": 54.545,
"l": 56.863
},
"oklch": {
"l": 0.52221,
"c": 0.18007,
"h": 280
},
"luminance": 0.13078
}Semantic roles & 50–950 ramp
primary
#5A55CD
secondary
#D5D7A6
accent
#DE4AD8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83