#5A50E6#5A50E6
#5A50E6 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.4% C 0.218 H 279.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5A50E6 |
|---|---|
| RGB | rgb(90, 80, 230) |
| HSL | hsl(244, 75%, 61%) |
| HSV | hsv(244, 65%, 90%) |
| CMYK | cmyk(60.9%, 65.2%, 0%, 9.8%) |
| CIE-LAB | lab(43.69, 46.74, -74.78) |
| CIE-LCH | lch(43.69, 88.18, 302.01°) |
| OKLab | oklab(53.41% 0.0341 -0.2154) |
| OKLCH | oklch(53.41% 0.218 279) |
| XYZ | xyz(21.3635, 13.6225, 76.3512) |
| Luminance | 0.1362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.47
Purpleish Blue
#6140EF
ΔE00 3.90
Slate Blue
#6A5ACD
ΔE00 4.70
Light Indigo
#6D5ACF
ΔE00 4.78
Iris
#6258C4
ΔE00 5.09
Dark Periwinkle
#665FD1
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A50E6 #DCE650
analogous
#5091E6 #5A50E6 #A550E6
triadic
#5A50E6 #E65A50 #50E65A
tetradic
#5A50E6 #E65091 #DCE650 #50E6A5
square
#5A50E6 #E65091 #DCE650 #50E6A5
split-complementary
#5A50E6 #E6A550 #91E650
monochromatic
#2117A4 #2C1FDA #5A50E6 #8C86EE #BFBBF5
Accessibility & contrast
On white
5.64
#5A50E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#5A50E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A50E6
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A50E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A50E6 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5a50e6; /* rgb */ color: rgb(90, 80, 230); /* oklch */ color: oklch(53.4% 0.218 279.0);
Tailwind
colors: {
custom: {
50: '#9782ef',
500: '#5a50e6',
950: '#000000',
},
}SCSS
$custom: #5a50e6; $custom-light: #9782ef; $custom-dark: #000000;
JSON
{
"hex": "#5a50e6",
"rgb": {
"r": 90,
"g": 80,
"b": 230
},
"hsl": {
"h": 244,
"s": 75,
"l": 60.784
},
"oklch": {
"l": 0.53414,
"c": 0.21813,
"h": 279
},
"luminance": 0.13624
}Semantic roles & 50–950 ramp
primary
#5A50E6
secondary
#E2E5AC
accent
#D70ECA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85