#5A50CD#5A50CD
#5A50CD is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.4% C 0.186 H 281.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5A50CD |
|---|---|
| RGB | rgb(90, 80, 205) |
| HSL | hsl(245, 56%, 56%) |
| HSV | hsv(245, 61%, 80%) |
| CMYK | cmyk(56.1%, 61%, 0%, 19.6%) |
| CIE-LAB | lab(41.72, 38.89, -63.70) |
| CIE-LCH | lch(41.72, 74.63, 301.41°) |
| OKLab | oklab(51.37% 0.0362 -0.1829) |
| OKLCH | oklch(51.37% 0.186 281.2) |
| XYZ | xyz(18.1011, 12.3176, 59.1695) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.90
Warm Blue
#4B57DB
ΔE00 3.68
Slate Blue
#6A5ACD
ΔE00 3.78
Light Indigo
#6D5ACF
ΔE00 4.16
Bluey Purple
#6241C7
ΔE00 4.49
Dark Periwinkle
#665FD1
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A50CD #C3CD50
analogous
#5084CD #5A50CD #9850CD
triadic
#5A50CD #CD5A50 #50CD5A
tetradic
#5A50CD #CD5084 #C3CD50 #50CD98
square
#5A50CD #CD5084 #C3CD50 #50CD98
split-complementary
#5A50CD #CD9850 #84CD50
monochromatic
#2B247E #3C32AE #5A50CD #8780DB #B4AFE8
Accessibility & contrast
On white
6.06
#5A50CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#5A50CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A50CD
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A50CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A50CD | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#1E6E87
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5a50cd; /* rgb */ color: rgb(90, 80, 205); /* oklch */ color: oklch(51.4% 0.186 281.2);
Tailwind
colors: {
custom: {
50: '#9381dd',
500: '#5a50cd',
950: '#000000',
},
}SCSS
$custom: #5a50cd; $custom-light: #9381dd; $custom-dark: #000000;
JSON
{
"hex": "#5a50cd",
"rgb": {
"r": 90,
"g": 80,
"b": 205
},
"hsl": {
"h": 244.8,
"s": 55.556,
"l": 55.882
},
"oklch": {
"l": 0.51365,
"c": 0.18645,
"h": 281.2
},
"luminance": 0.12319
}Semantic roles & 50–950 ramp
primary
#5A50CD
secondary
#D2D6A2
accent
#DF49D3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83