#505CDC#505CDC
#505CDC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.193 H 273.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #505CDC |
|---|---|
| RGB | rgb(80, 92, 220) |
| HSL | hsl(235, 67%, 59%) |
| HSV | hsv(235, 64%, 86%) |
| CMYK | cmyk(63.6%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(44.98, 34.81, -67.02) |
| CIE-LCH | lch(44.98, 75.52, 297.44°) |
| OKLab | oklab(53.94% 0.0132 -0.1929) |
| OKLCH | oklch(53.94% 0.193 273.9) |
| XYZ | xyz(20.0494, 14.5254, 69.4434) |
| Luminance | 0.1453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.60
Dark Periwinkle
#665FD1
ΔE00 3.66
Azul
#1D5DEC
ΔE00 4.39
Iris
#6258C4
ΔE00 4.66
Slate Blue
#6A5ACD
ΔE00 4.78
Light Indigo
#6D5ACF
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CDC #DCD050
analogous
#50A2DC #505CDC #8A50DC
triadic
#505CDC #DC505C #5CDC50
tetradic
#505CDC #DC50A2 #DCD050 #50DC8A
square
#505CDC #DC50A2 #DCD050 #50DC8A
split-complementary
#505CDC #DC8A50 #A2DC50
monochromatic
#1E2894 #2835C7 #505CDC #838CE6 #B6BBF0
Accessibility & contrast
On white
5.38
#505CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#505CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CDC
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CDC | 1.00 | 5.38 | 3.91 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #505cdc; /* rgb */ color: rgb(80, 92, 220); /* oklch */ color: oklch(53.9% 0.193 273.9);
Tailwind
colors: {
custom: {
50: '#8f8ae8',
500: '#505cdc',
950: '#000000',
},
}SCSS
$custom: #505cdc; $custom-light: #8f8ae8; $custom-dark: #000000;
JSON
{
"hex": "#505cdc",
"rgb": {
"r": 80,
"g": 92,
"b": 220
},
"hsl": {
"h": 234.857,
"s": 66.667,
"l": 58.824
},
"oklch": {
"l": 0.53944,
"c": 0.19332,
"h": 273.9
},
"luminance": 0.14527
}Semantic roles & 50–950 ramp
primary
#505CDC
secondary
#DFDBA8
accent
#DB3EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84