#5B50BB#5B50BB
#5B50BB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.162 H 283.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5B50BB |
|---|---|
| RGB | rgb(91, 80, 187) |
| HSL | hsl(246, 44%, 52%) |
| HSV | hsv(246, 57%, 73%) |
| CMYK | cmyk(51.3%, 57.2%, 0%, 26.7%) |
| CIE-LAB | lab(40.49, 33.45, -55.22) |
| CIE-LCH | lch(40.49, 64.56, 301.20°) |
| OKLab | oklab(50.07% 0.0379 -0.158) |
| OKLCH | oklch(50.07% 0.162 283.5) |
| XYZ | xyz(16.1500, 11.5485, 48.3822) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.85
Ocean Blue
#4F42B5
ΔE00 4.29
Slate Blue
#6A5ACD
ΔE00 4.53
Bluey Purple
#6241C7
ΔE00 4.74
Light Indigo
#6D5ACF
ΔE00 4.99
Warm Blue
#4B57DB
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B50BB #B0BB50
analogous
#507BBB #5B50BB #9050BB
triadic
#5B50BB #BB5B50 #50BB5B
tetradic
#5B50BB #BB507B #B0BB50 #50BB90
square
#5B50BB #BB507B #B0BB50 #50BB90
split-complementary
#5B50BB #BB9050 #7BBB50
monochromatic
#2F2868 #433A94 #5B50BB #847CCC #AEA8DD
Accessibility & contrast
On white
6.34
#5B50BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#5B50BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B50BB
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B50BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B50BB | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#36687E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5b50bb; /* rgb */ color: rgb(91, 80, 187); /* oklch */ color: oklch(50.1% 0.162 283.5);
Tailwind
colors: {
custom: {
50: '#9181d0',
500: '#5b50bb',
950: '#000000',
},
}SCSS
$custom: #5b50bb; $custom-light: #9181d0; $custom-dark: #000000;
JSON
{
"hex": "#5b50bb",
"rgb": {
"r": 91,
"g": 80,
"b": 187
},
"hsl": {
"h": 246.168,
"s": 44.033,
"l": 52.353
},
"oklch": {
"l": 0.50068,
"c": 0.16245,
"h": 283.5
},
"luminance": 0.11549
}Semantic roles & 50–950 ramp
primary
#5B50BB
secondary
#C6CB9C
accent
#D454C7
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82