#505CE3#505CE3
#505CE3 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.5% C 0.202 H 273.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #505CE3 |
|---|---|
| RGB | rgb(80, 92, 227) |
| HSL | hsl(235, 72%, 60%) |
| HSV | hsv(235, 65%, 89%) |
| CMYK | cmyk(64.8%, 59.5%, 0%, 11%) |
| CIE-LAB | lab(45.50, 37.16, -70.14) |
| CIE-LCH | lch(45.50, 79.37, 297.91°) |
| OKLab | oklab(54.5% 0.0131 -0.202) |
| OKLCH | oklch(54.5% 0.202 273.7) |
| XYZ | xyz(20.9959, 14.9040, 74.4284) |
| Luminance | 0.1491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.01
Dark Periwinkle
#665FD1
ΔE00 3.94
Azul
#1D5DEC
ΔE00 4.31
Electric Blue
#0652FF
ΔE00 4.85
Slate Blue
#6A5ACD
ΔE00 5.07
Royal Blue
#4169E1
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CE3 #E3D750
analogous
#50A5E3 #505CE3 #8D50E3
triadic
#505CE3 #E3505C #5CE350
tetradic
#505CE3 #E350A5 #E3D750 #50E38D
square
#505CE3 #E350A5 #E3D750 #50E38D
split-complementary
#505CE3 #E38D50 #A5E350
monochromatic
#19249F #2230D4 #505CE3 #858DEB #BABEF4
Accessibility & contrast
On white
5.27
#505CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#505CE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CE3
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CE3 | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#0065E0
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #505ce3; /* rgb */ color: rgb(80, 92, 227); /* oklch */ color: oklch(54.5% 0.202 273.7);
Tailwind
colors: {
custom: {
50: '#918aed',
500: '#505ce3',
950: '#000000',
},
}SCSS
$custom: #505ce3; $custom-light: #918aed; $custom-dark: #000000;
JSON
{
"hex": "#505ce3",
"rgb": {
"r": 80,
"g": 92,
"b": 227
},
"hsl": {
"h": 235.102,
"s": 72.414,
"l": 60.196
},
"oklch": {
"l": 0.54498,
"c": 0.20246,
"h": 273.7
},
"luminance": 0.14906
}Semantic roles & 50–950 ramp
primary
#505CE3
secondary
#E4DFAB
accent
#C511D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84