#5B50CD#5B50CD
#5B50CD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.186 H 281.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5B50CD |
|---|---|
| RGB | rgb(91, 80, 205) |
| HSL | hsl(245, 56%, 56%) |
| HSV | hsv(245, 61%, 80%) |
| CMYK | cmyk(55.6%, 61%, 0%, 19.6%) |
| CIE-LAB | lab(41.80, 39.07, -63.57) |
| CIE-LCH | lch(41.80, 74.61, 301.58°) |
| OKLab | oklab(51.44% 0.0374 -0.1825) |
| OKLCH | oklch(51.44% 0.186 281.6) |
| XYZ | xyz(18.1991, 12.3681, 59.1741) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.85
Slate Blue
#6A5ACD
ΔE00 3.68
Warm Blue
#4B57DB
ΔE00 3.78
Light Indigo
#6D5ACF
ΔE00 4.05
Bluey Purple
#6241C7
ΔE00 4.42
Dark Periwinkle
#665FD1
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B50CD #C2CD50
analogous
#5083CD #5B50CD #9950CD
triadic
#5B50CD #CD5B50 #50CD5B
tetradic
#5B50CD #CD5083 #C2CD50 #50CD99
square
#5B50CD #CD5083 #C2CD50 #50CD99
split-complementary
#5B50CD #CD9950 #83CD50
monochromatic
#2C247E #3D32AE #5B50CD #8880DB #B4AFE8
Accessibility & contrast
On white
6.05
#5B50CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5B50CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B50CD
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B50CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B50CD | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#226E87
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5b50cd; /* rgb */ color: rgb(91, 80, 205); /* oklch */ color: oklch(51.4% 0.186 281.6);
Tailwind
colors: {
custom: {
50: '#9382dd',
500: '#5b50cd',
950: '#000000',
},
}SCSS
$custom: #5b50cd; $custom-light: #9382dd; $custom-dark: #000000;
JSON
{
"hex": "#5b50cd",
"rgb": {
"r": 91,
"g": 80,
"b": 205
},
"hsl": {
"h": 245.28,
"s": 55.556,
"l": 55.882
},
"oklch": {
"l": 0.51442,
"c": 0.18629,
"h": 281.6
},
"luminance": 0.12369
}Semantic roles & 50–950 ramp
primary
#5B50CD
secondary
#D2D6A2
accent
#DF49D2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83