#505DC3#505DC3
#505DC3 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.3% C 0.158 H 274.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #505DC3 |
|---|---|
| RGB | rgb(80, 93, 195) |
| HSL | hsl(233, 49%, 54%) |
| HSV | hsv(233, 59%, 76%) |
| CMYK | cmyk(59%, 52.3%, 0%, 23.5%) |
| CIE-LAB | lab(43.47, 25.77, -55.11) |
| CIE-LCH | lch(43.47, 60.84, 295.06°) |
| OKLab | oklab(52.26% 0.0114 -0.1578) |
| OKLCH | oklch(52.26% 0.158 274.1) |
| XYZ | xyz(17.0697, 13.4730, 53.3202) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.74
Iris
#6258C4
ΔE00 4.05
Dark Periwinkle
#665FD1
ΔE00 4.43
Slate Blue
#6A5ACD
ΔE00 5.29
Light Indigo
#6D5ACF
ΔE00 5.88
Azul
#1D5DEC
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505DC3 #C3B650
analogous
#5097C3 #505DC3 #7D50C3
triadic
#505DC3 #C3505D #5DC350
tetradic
#505DC3 #C35097 #C3B650 #50C37D
square
#505DC3 #C35097 #C3B650 #50C37D
split-complementary
#505DC3 #C37D50 #97C350
monochromatic
#272F72 #37429F #505DC3 #7E87D3 #ABB1E2
Accessibility & contrast
On white
5.68
#505DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#505DC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505DC3
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505DC3 | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226CC7
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #505dc3; /* rgb */ color: rgb(80, 93, 195); /* oklch */ color: oklch(52.3% 0.158 274.1);
Tailwind
colors: {
custom: {
50: '#8b8ad6',
500: '#505dc3',
950: '#000000',
},
}SCSS
$custom: #505dc3; $custom-light: #8b8ad6; $custom-dark: #000000;
JSON
{
"hex": "#505dc3",
"rgb": {
"r": 80,
"g": 93,
"b": 195
},
"hsl": {
"h": 233.217,
"s": 48.936,
"l": 53.922
},
"oklch": {
"l": 0.52259,
"c": 0.15824,
"h": 274.1
},
"luminance": 0.13474
}Semantic roles & 50–950 ramp
primary
#505DC3
secondary
#D0CA9F
accent
#C94FD8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83