#505DCD#505DCD
#505DCD is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.0% C 0.172 H 274.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #505DCD |
|---|---|
| RGB | rgb(80, 93, 205) |
| HSL | hsl(234, 56%, 56%) |
| HSV | hsv(234, 61%, 80%) |
| CMYK | cmyk(61%, 54.6%, 0%, 19.6%) |
| CIE-LAB | lab(44.15, 29.14, -59.79) |
| CIE-LCH | lch(44.15, 66.51, 295.98°) |
| OKLab | oklab(52.99% 0.012 -0.1716) |
| OKLCH | oklch(52.99% 0.172 274) |
| XYZ | xyz(18.2384, 13.9405, 59.4754) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.60
Dark Periwinkle
#665FD1
ΔE00 3.80
Iris
#6258C4
ΔE00 4.04
Slate Blue
#6A5ACD
ΔE00 4.86
Azul
#1D5DEC
ΔE00 5.11
Light Indigo
#6D5ACF
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505DCD #CDC050
analogous
#509BCD #505DCD #8150CD
triadic
#505DCD #CD505D #5DCD50
tetradic
#505DCD #CD509B #CDC050 #50CD81
square
#505DCD #CD509B #CDC050 #50CD81
split-complementary
#505DCD #CD8150 #9BCD50
monochromatic
#242E7E #323FAE #505DCD #8089DB #AFB5E8
Accessibility & contrast
On white
5.54
#505DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#505DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505DCD
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505DCD | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#086ED1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #505dcd; /* rgb */ color: rgb(80, 93, 205); /* oklch */ color: oklch(53.0% 0.172 274.0);
Tailwind
colors: {
custom: {
50: '#8d8add',
500: '#505dcd',
950: '#000000',
},
}SCSS
$custom: #505dcd; $custom-light: #8d8add; $custom-dark: #000000;
JSON
{
"hex": "#505dcd",
"rgb": {
"r": 80,
"g": 93,
"b": 205
},
"hsl": {
"h": 233.76,
"s": 55.556,
"l": 55.882
},
"oklch": {
"l": 0.52986,
"c": 0.172,
"h": 274
},
"luminance": 0.13942
}Semantic roles & 50–950 ramp
primary
#505DCD
secondary
#D6D1A2
accent
#CF49DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83