#505CD1#505CD1
#505CD1 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.1% C 0.179 H 274.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #505CD1 |
|---|---|
| RGB | rgb(80, 92, 209) |
| HSL | hsl(234, 58%, 57%) |
| HSV | hsv(234, 62%, 82%) |
| CMYK | cmyk(61.7%, 56%, 0%, 18%) |
| CIE-LAB | lab(44.18, 31.11, -62.03) |
| CIE-LCH | lch(44.18, 69.40, 296.63°) |
| OKLab | oklab(53.1% 0.013 -0.1782) |
| OKLCH | oklch(53.1% 0.179 274.2) |
| XYZ | xyz(18.6402, 13.9617, 62.0218) |
| Luminance | 0.1396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.99
Dark Periwinkle
#665FD1
ΔE00 3.65
Iris
#6258C4
ΔE00 3.98
Slate Blue
#6A5ACD
ΔE00 4.66
Azul
#1D5DEC
ΔE00 4.91
Light Indigo
#6D5ACF
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CD1 #D1C550
analogous
#509CD1 #505CD1 #8550D1
triadic
#505CD1 #D1505C #5CD150
tetradic
#505CD1 #D1509C #D1C550 #50D185
square
#505CD1 #D1509C #D1C550 #50D185
split-complementary
#505CD1 #D18550 #9CD150
monochromatic
#232C84 #2F3CB4 #505CD1 #8089DE #B1B6EA
Accessibility & contrast
On white
5.54
#505CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#505CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CD1
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CD1 | 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)
#006ED5
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #505cd1; /* rgb */ color: rgb(80, 92, 209); /* oklch */ color: oklch(53.1% 0.179 274.2);
Tailwind
colors: {
custom: {
50: '#8e8ae0',
500: '#505cd1',
950: '#000000',
},
}SCSS
$custom: #505cd1; $custom-light: #8e8ae0; $custom-dark: #000000;
JSON
{
"hex": "#505cd1",
"rgb": {
"r": 80,
"g": 92,
"b": 209
},
"hsl": {
"h": 234.419,
"s": 58.371,
"l": 56.667
},
"oklch": {
"l": 0.53098,
"c": 0.17868,
"h": 274.2
},
"luminance": 0.13963
}Semantic roles & 50–950 ramp
primary
#505CD1
secondary
#D9D4A4
accent
#D346E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83