#505CE2#505CE2
#505CE2 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.4% C 0.201 H 273.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #505CE2 |
|---|---|
| RGB | rgb(80, 92, 226) |
| HSL | hsl(235, 72%, 60%) |
| HSV | hsv(235, 65%, 89%) |
| CMYK | cmyk(64.6%, 59.3%, 0%, 11.4%) |
| CIE-LAB | lab(45.43, 36.82, -69.70) |
| CIE-LCH | lch(45.43, 78.83, 297.85°) |
| OKLab | oklab(54.42% 0.0131 -0.2007) |
| OKLCH | oklch(54.42% 0.201 273.7) |
| XYZ | xyz(20.8583, 14.8489, 73.7037) |
| Luminance | 0.1485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.93
Dark Periwinkle
#665FD1
ΔE00 3.89
Azul
#1D5DEC
ΔE00 4.31
Electric Blue
#0652FF
ΔE00 4.90
Slate Blue
#6A5ACD
ΔE00 5.02
Iris
#6258C4
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CE2 #E2D650
analogous
#50A5E2 #505CE2 #8D50E2
triadic
#505CE2 #E2505C #5CE250
tetradic
#505CE2 #E250A5 #E2D650 #50E28D
square
#505CE2 #E250A5 #E2D650 #50E28D
split-complementary
#505CE2 #E28D50 #A5E250
monochromatic
#1A259E #2331D2 #505CE2 #848DEB #B9BEF3
Accessibility & contrast
On white
5.29
#505CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#505CE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CE2
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CE2 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #505ce2; /* rgb */ color: rgb(80, 92, 226); /* oklch */ color: oklch(54.4% 0.201 273.7);
Tailwind
colors: {
custom: {
50: '#918aec',
500: '#505ce2',
950: '#000000',
},
}SCSS
$custom: #505ce2; $custom-light: #918aec; $custom-dark: #000000;
JSON
{
"hex": "#505ce2",
"rgb": {
"r": 80,
"g": 92,
"b": 226
},
"hsl": {
"h": 235.068,
"s": 71.569,
"l": 60
},
"oklch": {
"l": 0.54418,
"c": 0.20116,
"h": 273.7
},
"luminance": 0.14851
}Semantic roles & 50–950 ramp
primary
#505CE2
secondary
#E3DEAB
accent
#DF39EE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84