#505CDB#505CDB
#505CDB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.192 H 273.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #505CDB |
|---|---|
| RGB | rgb(80, 92, 219) |
| HSL | hsl(235, 66%, 59%) |
| HSV | hsv(235, 63%, 86%) |
| CMYK | cmyk(63.5%, 58%, 0%, 14.1%) |
| CIE-LAB | lab(44.90, 34.47, -66.57) |
| CIE-LCH | lch(44.90, 74.97, 297.38°) |
| OKLab | oklab(53.87% 0.0132 -0.1915) |
| OKLCH | oklch(53.87% 0.192 273.9) |
| XYZ | xyz(19.9174, 14.4725, 68.7480) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.58
Dark Periwinkle
#665FD1
ΔE00 3.64
Azul
#1D5DEC
ΔE00 4.42
Iris
#6258C4
ΔE00 4.58
Slate Blue
#6A5ACD
ΔE00 4.75
Light Indigo
#6D5ACF
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505CDB #DBCF50
analogous
#50A1DB #505CDB #8950DB
triadic
#505CDB #DB505C #5CDB50
tetradic
#505CDB #DB50A1 #DBCF50 #50DB89
square
#505CDB #DB50A1 #DBCF50 #50DB89
split-complementary
#505CDB #DB8950 #A1DB50
monochromatic
#1E2892 #2936C5 #505CDB #838BE5 #B6BBF0
Accessibility & contrast
On white
5.39
#505CDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#505CDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505CDB
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505CDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505CDB | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #505cdb; /* rgb */ color: rgb(80, 92, 219); /* oklch */ color: oklch(53.9% 0.192 273.9);
Tailwind
colors: {
custom: {
50: '#8f8ae7',
500: '#505cdb',
950: '#000000',
},
}SCSS
$custom: #505cdb; $custom-light: #8f8ae7; $custom-dark: #000000;
JSON
{
"hex": "#505cdb",
"rgb": {
"r": 80,
"g": 92,
"b": 219
},
"hsl": {
"h": 234.82,
"s": 65.877,
"l": 58.627
},
"oklch": {
"l": 0.53866,
"c": 0.192,
"h": 273.9
},
"luminance": 0.14474
}Semantic roles & 50–950 ramp
primary
#505CDB
secondary
#DFDAA8
accent
#DA3FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84