#505CDF#505CDF
#505CDF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.197 H 273.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #505CDF |
|---|---|
| RGB | rgb(80, 92, 223) |
| HSL | hsl(235, 69%, 59%) |
| HSV | hsv(235, 64%, 87%) |
| CMYK | cmyk(64.1%, 58.7%, 0%, 12.5%) |
| CIE-LAB | lab(45.20, 35.81, -68.36) |
| CIE-LCH | lch(45.20, 77.18, 297.65°) |
| OKLab | oklab(54.18% 0.0131 -0.1968) |
| OKLCH | oklch(54.18% 0.197 273.8) |
| XYZ | xyz(20.4503, 14.6857, 71.5547) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.73
Dark Periwinkle
#665FD1
ΔE00 3.76
Azul
#1D5DEC
ΔE00 4.33
Slate Blue
#6A5ACD
ΔE00 4.89
Iris
#6258C4
ΔE00 4.90
Electric Blue
#0652FF
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CDF #DFD350
analogous
#50A4DF #505CDF #8C50DF
triadic
#505CDF #DF505C #5CDF50
tetradic
#505CDF #DF50A4 #DFD350 #50DF8C
square
#505CDF #DF50A4 #DFD350 #50DF8C
split-complementary
#505CDF #DF8C50 #A4DF50
monochromatic
#1C2699 #2533CC #505CDF #848CE8 #B7BCF2
Accessibility & contrast
On white
5.33
#505CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#505CDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CDF
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CDF | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #505cdf; /* rgb */ color: rgb(80, 92, 223); /* oklch */ color: oklch(54.2% 0.197 273.8);
Tailwind
colors: {
custom: {
50: '#908aea',
500: '#505cdf',
950: '#000000',
},
}SCSS
$custom: #505cdf; $custom-light: #908aea; $custom-dark: #000000;
JSON
{
"hex": "#505cdf",
"rgb": {
"r": 80,
"g": 92,
"b": 223
},
"hsl": {
"h": 234.965,
"s": 69.082,
"l": 59.412
},
"oklch": {
"l": 0.5418,
"c": 0.19725,
"h": 273.8
},
"luminance": 0.14687
}Semantic roles & 50–950 ramp
primary
#505CDF
secondary
#E1DDAA
accent
#DD3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84