#505CD0#505CD0
#505CD0 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.0% C 0.177 H 274.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #505CD0 |
|---|---|
| RGB | rgb(80, 92, 208) |
| HSL | hsl(234, 58%, 56%) |
| HSV | hsv(234, 62%, 82%) |
| CMYK | cmyk(61.5%, 55.8%, 0%, 18.4%) |
| CIE-LAB | lab(44.11, 30.77, -61.58) |
| CIE-LCH | lch(44.11, 68.84, 296.55°) |
| OKLab | oklab(53.02% 0.013 -0.1768) |
| OKLCH | oklch(53.02% 0.177 274.2) |
| XYZ | xyz(18.5168, 13.9123, 61.3718) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.08
Dark Periwinkle
#665FD1
ΔE00 3.68
Iris
#6258C4
ΔE00 3.94
Slate Blue
#6A5ACD
ΔE00 4.67
Azul
#1D5DEC
ΔE00 4.98
Light Indigo
#6D5ACF
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CD0 #D0C450
analogous
#509CD0 #505CD0 #8450D0
triadic
#505CD0 #D0505C #5CD050
tetradic
#505CD0 #D0509C #D0C450 #50D084
square
#505CD0 #D0509C #D0C450 #50D084
split-complementary
#505CD0 #D08450 #9CD050
monochromatic
#232C83 #303CB3 #505CD0 #8089DD #B0B6EA
Accessibility & contrast
On white
5.55
#505CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#505CD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CD0
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CD0 | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED4
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #505cd0; /* rgb */ color: rgb(80, 92, 208); /* oklch */ color: oklch(53.0% 0.177 274.2);
Tailwind
colors: {
custom: {
50: '#8d8adf',
500: '#505cd0',
950: '#000000',
},
}SCSS
$custom: #505cd0; $custom-light: #8d8adf; $custom-dark: #000000;
JSON
{
"hex": "#505cd0",
"rgb": {
"r": 80,
"g": 92,
"b": 208
},
"hsl": {
"h": 234.375,
"s": 57.658,
"l": 56.471
},
"oklch": {
"l": 0.53022,
"c": 0.17733,
"h": 274.2
},
"luminance": 0.13914
}Semantic roles & 50–950 ramp
primary
#505CD0
secondary
#D8D3A4
accent
#D247E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83