#505CDD#505CDD
#505CDD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.195 H 273.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #505CDD |
|---|---|
| RGB | rgb(80, 92, 221) |
| HSL | hsl(235, 67%, 59%) |
| HSV | hsv(235, 64%, 87%) |
| CMYK | cmyk(63.8%, 58.4%, 0%, 13.3%) |
| CIE-LAB | lab(45.05, 35.14, -67.47) |
| CIE-LCH | lch(45.05, 76.07, 297.51°) |
| OKLab | oklab(54.02% 0.0131 -0.1942) |
| OKLCH | oklch(54.02% 0.195 273.9) |
| XYZ | xyz(20.1822, 14.5785, 70.1430) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.63
Dark Periwinkle
#665FD1
ΔE00 3.69
Azul
#1D5DEC
ΔE00 4.37
Iris
#6258C4
ΔE00 4.74
Slate Blue
#6A5ACD
ΔE00 4.81
Light Indigo
#6D5ACF
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CDD #DDD150
analogous
#50A2DD #505CDD #8B50DD
triadic
#505CDD #DD505C #5CDD50
tetradic
#505CDD #DD50A2 #DDD150 #50DD8B
square
#505CDD #DD50A2 #DDD150 #50DD8B
split-complementary
#505CDD #DD8B50 #A2DD50
monochromatic
#1D2796 #2735C9 #505CDD #838CE7 #B6BBF1
Accessibility & contrast
On white
5.36
#505CDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#505CDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CDD
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CDD | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#007C94
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #505cdd; /* rgb */ color: rgb(80, 92, 221); /* oklch */ color: oklch(54.0% 0.195 273.9);
Tailwind
colors: {
custom: {
50: '#908ae8',
500: '#505cdd',
950: '#000000',
},
}SCSS
$custom: #505cdd; $custom-light: #908ae8; $custom-dark: #000000;
JSON
{
"hex": "#505cdd",
"rgb": {
"r": 80,
"g": 92,
"b": 221
},
"hsl": {
"h": 234.894,
"s": 67.464,
"l": 59.02
},
"oklch": {
"l": 0.54023,
"c": 0.19463,
"h": 273.9
},
"luminance": 0.1458
}Semantic roles & 50–950 ramp
primary
#505CDD
secondary
#E0DBA9
accent
#DC3DEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84