#5B50CF#5B50CF
#5B50CF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.6% C 0.189 H 281.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5B50CF |
|---|---|
| RGB | rgb(91, 80, 207) |
| HSL | hsl(245, 57%, 56%) |
| HSV | hsv(245, 61%, 81%) |
| CMYK | cmyk(56%, 61.4%, 0%, 18.8%) |
| CIE-LAB | lab(41.95, 39.69, -64.47) |
| CIE-LCH | lch(41.95, 75.71, 301.62°) |
| OKLab | oklab(51.6% 0.0373 -0.1852) |
| OKLCH | oklch(51.6% 0.189 281.4) |
| XYZ | xyz(18.4420, 12.4653, 60.4536) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.97
Warm Blue
#4B57DB
ΔE00 3.65
Slate Blue
#6A5ACD
ΔE00 3.68
Light Indigo
#6D5ACF
ΔE00 4.02
Bluey Purple
#6241C7
ΔE00 4.48
Dark Periwinkle
#665FD1
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B50CF #C4CF50
analogous
#5085CF #5B50CF #9B50CF
triadic
#5B50CF #CF5B50 #50CF5B
tetradic
#5B50CF #CF5085 #C4CF50 #50CF9B
square
#5B50CF #CF5085 #C4CF50 #50CF9B
split-complementary
#5B50CF #CF9B50 #85CF50
monochromatic
#2C2381 #3C31B1 #5B50CF #8880DC #B5B0E9
Accessibility & contrast
On white
6.01
#5B50CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#5B50CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B50CF
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B50CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B50CF | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#1F6F88
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5b50cf; /* rgb */ color: rgb(91, 80, 207); /* oklch */ color: oklch(51.6% 0.189 281.4);
Tailwind
colors: {
custom: {
50: '#9482df',
500: '#5b50cf',
950: '#000000',
},
}SCSS
$custom: #5b50cf; $custom-light: #9482df; $custom-dark: #000000;
JSON
{
"hex": "#5b50cf",
"rgb": {
"r": 91,
"g": 80,
"b": 207
},
"hsl": {
"h": 245.197,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.516,
"c": 0.18888,
"h": 281.4
},
"luminance": 0.12466
}Semantic roles & 50–950 ramp
primary
#5B50CF
secondary
#D3D8A3
accent
#E048D3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83