#505BDE#505BDE
#505BDE is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.197 H 274.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #505BDE |
|---|---|
| RGB | rgb(80, 91, 222) |
| HSL | hsl(235, 68%, 59%) |
| HSV | hsv(235, 64%, 87%) |
| CMYK | cmyk(64%, 59%, 0%, 12.9%) |
| CIE-LAB | lab(44.89, 36.09, -68.31) |
| CIE-LCH | lch(44.89, 77.26, 297.85°) |
| OKLab | oklab(53.92% 0.014 -0.1967) |
| OKLCH | oklch(53.92% 0.197 274.1) |
| XYZ | xyz(20.2298, 14.4598, 70.8180) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.41
Dark Periwinkle
#665FD1
ΔE00 3.75
Azul
#1D5DEC
ΔE00 4.45
Iris
#6258C4
ΔE00 4.69
Slate Blue
#6A5ACD
ΔE00 4.75
Electric Blue
#0652FF
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505BDE #DED350
analogous
#50A2DE #505BDE #8C50DE
triadic
#505BDE #DE505B #5BDE50
tetradic
#505BDE #DE50A2 #DED350 #50DE8C
square
#505BDE #DE50A2 #DED350 #50DE8C
split-complementary
#505BDE #DE8C50 #A2DE50
monochromatic
#1C2697 #2633CB #505BDE #838BE8 #B7BCF1
Accessibility & contrast
On white
5.40
#505BDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#505BDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505BDE
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505BDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505BDE | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#0064DB
Tritanopia (blue-blind)
#007B94
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #505bde; /* rgb */ color: rgb(80, 91, 222); /* oklch */ color: oklch(53.9% 0.197 274.1);
Tailwind
colors: {
custom: {
50: '#9089e9',
500: '#505bde',
950: '#000000',
},
}SCSS
$custom: #505bde; $custom-light: #9089e9; $custom-dark: #000000;
JSON
{
"hex": "#505bde",
"rgb": {
"r": 80,
"g": 91,
"b": 222
},
"hsl": {
"h": 235.352,
"s": 68.269,
"l": 59.216
},
"oklch": {
"l": 0.53923,
"c": 0.19716,
"h": 274.1
},
"luminance": 0.14462
}Semantic roles & 50–950 ramp
primary
#505BDE
secondary
#E1DCA9
accent
#DE3DEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84