#505BDD#505BDD
#505BDD is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.8% C 0.196 H 274.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #505BDD |
|---|---|
| RGB | rgb(80, 91, 221) |
| HSL | hsl(235, 67%, 59%) |
| HSV | hsv(235, 64%, 87%) |
| CMYK | cmyk(63.8%, 58.8%, 0%, 13.3%) |
| CIE-LAB | lab(44.81, 35.76, -67.86) |
| CIE-LCH | lch(44.81, 76.71, 297.79°) |
| OKLab | oklab(53.84% 0.014 -0.1953) |
| OKLCH | oklch(53.84% 0.196 274.1) |
| XYZ | xyz(20.0962, 14.4064, 70.1143) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.36
Dark Periwinkle
#665FD1
ΔE00 3.72
Azul
#1D5DEC
ΔE00 4.47
Iris
#6258C4
ΔE00 4.61
Slate Blue
#6A5ACD
ΔE00 4.72
Light Indigo
#6D5ACF
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505BDD #DDD250
analogous
#50A2DD #505BDD #8C50DD
triadic
#505BDD #DD505B #5BDD50
tetradic
#505BDD #DD50A2 #DDD250 #50DD8C
square
#505BDD #DD50A2 #DDD250 #50DD8C
split-complementary
#505BDD #DD8C50 #A2DD50
monochromatic
#1D2696 #2734C9 #505BDD #838BE7 #B6BBF1
Accessibility & contrast
On white
5.41
#505BDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#505BDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505BDD
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505BDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505BDD | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #505bdd; /* rgb */ color: rgb(80, 91, 221); /* oklch */ color: oklch(53.8% 0.196 274.1);
Tailwind
colors: {
custom: {
50: '#9089e8',
500: '#505bdd',
950: '#000000',
},
}SCSS
$custom: #505bdd; $custom-light: #9089e8; $custom-dark: #000000;
JSON
{
"hex": "#505bdd",
"rgb": {
"r": 80,
"g": 91,
"b": 221
},
"hsl": {
"h": 235.319,
"s": 67.464,
"l": 59.02
},
"oklch": {
"l": 0.53844,
"c": 0.19585,
"h": 274.1
},
"luminance": 0.14408
}Semantic roles & 50–950 ramp
primary
#505BDD
secondary
#E0DCA9
accent
#DD3DEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84