#5A50E2#5A50E2
#5A50E2 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.1% C 0.213 H 279.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5A50E2 |
|---|---|
| RGB | rgb(90, 80, 226) |
| HSL | hsl(244, 72%, 60%) |
| HSV | hsv(244, 65%, 89%) |
| CMYK | cmyk(60.2%, 64.6%, 0%, 11.4%) |
| CIE-LAB | lab(43.36, 45.48, -73.04) |
| CIE-LCH | lch(43.36, 86.04, 301.91°) |
| OKLab | oklab(53.08% 0.0345 -0.2103) |
| OKLCH | oklch(53.08% 0.213 279.3) |
| XYZ | xyz(20.8082, 13.4004, 73.4268) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.30
Purpleish Blue
#6140EF
ΔE00 4.03
Slate Blue
#6A5ACD
ΔE00 4.44
Light Indigo
#6D5ACF
ΔE00 4.56
Iris
#6258C4
ΔE00 4.68
Dark Periwinkle
#665FD1
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A50E2 #D8E250
analogous
#508FE2 #5A50E2 #A350E2
triadic
#5A50E2 #E25A50 #50E25A
tetradic
#5A50E2 #E2508F #D8E250 #50E2A3
square
#5A50E2 #E2508F #D8E250 #50E2A3
split-complementary
#5A50E2 #E2A350 #8FE250
monochromatic
#231A9E #2F23D2 #5A50E2 #8C84EB #BDB9F3
Accessibility & contrast
On white
5.71
#5A50E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#5A50E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A50E2
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A50E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A50E2 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5a50e2; /* rgb */ color: rgb(90, 80, 226); /* oklch */ color: oklch(53.1% 0.213 279.3);
Tailwind
colors: {
custom: {
50: '#9682ec',
500: '#5a50e2',
950: '#000000',
},
}SCSS
$custom: #5a50e2; $custom-light: #9682ec; $custom-dark: #000000;
JSON
{
"hex": "#5a50e2",
"rgb": {
"r": 90,
"g": 80,
"b": 226
},
"hsl": {
"h": 244.11,
"s": 71.569,
"l": 60
},
"oklch": {
"l": 0.53077,
"c": 0.21317,
"h": 279.3
},
"luminance": 0.13402
}Semantic roles & 50–950 ramp
primary
#5A50E2
secondary
#DFE3AB
accent
#EE39E2
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84