#5A50BD#5A50BD
#5A50BD is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.165 H 282.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5A50BD |
|---|---|
| RGB | rgb(90, 80, 189) |
| HSL | hsl(246, 45%, 53%) |
| HSV | hsv(246, 58%, 74%) |
| CMYK | cmyk(52.4%, 57.7%, 0%, 25.9%) |
| CIE-LAB | lab(40.55, 33.87, -56.30) |
| CIE-LCH | lch(40.55, 65.70, 301.03°) |
| OKLab | oklab(50.14% 0.0366 -0.1612) |
| OKLCH | oklch(50.14% 0.165 282.8) |
| XYZ | xyz(16.2676, 11.5842, 49.5130) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.79
Ocean Blue
#4F42B5
ΔE00 4.30
Slate Blue
#6A5ACD
ΔE00 4.46
Bluey Purple
#6241C7
ΔE00 4.70
Light Indigo
#6D5ACF
ΔE00 4.93
Warm Blue
#4B57DB
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A50BD #B3BD50
analogous
#507CBD #5A50BD #9150BD
triadic
#5A50BD #BD5A50 #50BD5A
tetradic
#5A50BD #BD507C #B3BD50 #50BD91
square
#5A50BD #BD507C #B3BD50 #50BD91
split-complementary
#5A50BD #BD9150 #7CBD50
monochromatic
#2E286A #423997 #5A50BD #847CCE #AEA9DF
Accessibility & contrast
On white
6.33
#5A50BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#5A50BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A50BD
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A50BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A50BD | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#31697F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5a50bd; /* rgb */ color: rgb(90, 80, 189); /* oklch */ color: oklch(50.1% 0.165 282.8);
Tailwind
colors: {
custom: {
50: '#9081d2',
500: '#5a50bd',
950: '#000000',
},
}SCSS
$custom: #5a50bd; $custom-light: #9081d2; $custom-dark: #000000;
JSON
{
"hex": "#5a50bd",
"rgb": {
"r": 90,
"g": 80,
"b": 189
},
"hsl": {
"h": 245.505,
"s": 45.228,
"l": 52.745
},
"oklch": {
"l": 0.50135,
"c": 0.16527,
"h": 282.8
},
"luminance": 0.11585
}Semantic roles & 50–950 ramp
primary
#5A50BD
secondary
#C8CC9D
accent
#D553C9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83