#5A50D4#5A50D4
#5A50D4 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.9% C 0.195 H 280.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5A50D4 |
|---|---|
| RGB | rgb(90, 80, 212) |
| HSL | hsl(245, 61%, 57%) |
| HSV | hsv(245, 62%, 83%) |
| CMYK | cmyk(57.5%, 62.3%, 0%, 16.9%) |
| CIE-LAB | lab(42.25, 41.09, -66.86) |
| CIE-LCH | lch(42.25, 78.47, 301.58°) |
| OKLab | oklab(51.92% 0.0357 -0.1922) |
| OKLCH | oklch(51.92% 0.195 280.5) |
| XYZ | xyz(18.9650, 12.6632, 63.7195) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.30
Iris
#6258C4
ΔE00 3.39
Slate Blue
#6A5ACD
ΔE00 3.83
Light Indigo
#6D5ACF
ΔE00 4.13
Dark Periwinkle
#665FD1
ΔE00 4.69
Bluey Purple
#6241C7
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A50D4 #CAD450
analogous
#5088D4 #5A50D4 #9C50D4
triadic
#5A50D4 #D45A50 #50D45A
tetradic
#5A50D4 #D45088 #CAD450 #50D49C
square
#5A50D4 #D45088 #CAD450 #50D49C
split-complementary
#5A50D4 #D49C50 #88D450
monochromatic
#292188 #382EB9 #5A50D4 #8881E0 #B7B2EC
Accessibility & contrast
On white
5.94
#5A50D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#5A50D4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A50D4
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A50D4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A50D4 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#0E718A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5a50d4; /* rgb */ color: rgb(90, 80, 212); /* oklch */ color: oklch(51.9% 0.195 280.5);
Tailwind
colors: {
custom: {
50: '#9482e2',
500: '#5a50d4',
950: '#000000',
},
}SCSS
$custom: #5a50d4; $custom-light: #9482e2; $custom-dark: #000000;
JSON
{
"hex": "#5a50d4",
"rgb": {
"r": 90,
"g": 80,
"b": 212
},
"hsl": {
"h": 244.545,
"s": 60.55,
"l": 57.255
},
"oklch": {
"l": 0.51924,
"c": 0.19548,
"h": 280.5
},
"luminance": 0.12664
}Semantic roles & 50–950 ramp
primary
#5A50D4
secondary
#D7DBA5
accent
#E444D8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A15
muted
#7E7C84