#505ED2#505ED2
#505ED2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.177 H 273.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #505ED2 |
|---|---|
| RGB | rgb(80, 94, 210) |
| HSL | hsl(234, 59%, 57%) |
| HSV | hsv(234, 62%, 82%) |
| CMYK | cmyk(61.9%, 55.2%, 0%, 17.6%) |
| CIE-LAB | lab(44.75, 30.20, -61.68) |
| CIE-LCH | lch(44.75, 68.68, 296.09°) |
| OKLab | oklab(53.55% 0.0112 -0.1771) |
| OKLCH | oklch(53.55% 0.178 273.6) |
| XYZ | xyz(18.9400, 14.3625, 62.7344) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.45
Dark Periwinkle
#665FD1
ΔE00 3.67
Iris
#6258C4
ΔE00 4.40
Azul
#1D5DEC
ΔE00 4.69
Royal Blue
#4169E1
ΔE00 4.88
Slate Blue
#6A5ACD
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505ED2 #D2C450
analogous
#509FD2 #505ED2 #8350D2
triadic
#505ED2 #D2505E #5ED250
tetradic
#505ED2 #D2509F #D2C450 #50D283
square
#505ED2 #D2509F #D2C450 #50D283
split-complementary
#505ED2 #D28350 #9FD250
monochromatic
#222D85 #2F3DB6 #505ED2 #818BDF #B1B8EB
Accessibility & contrast
On white
5.42
#505ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#505ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505ED2
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505ED2 | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #505ed2; /* rgb */ color: rgb(80, 94, 210); /* oklch */ color: oklch(53.5% 0.177 273.6);
Tailwind
colors: {
custom: {
50: '#8e8be1',
500: '#505ed2',
950: '#000000',
},
}SCSS
$custom: #505ed2; $custom-light: #8e8be1; $custom-dark: #000000;
JSON
{
"hex": "#505ed2",
"rgb": {
"r": 80,
"g": 94,
"b": 210
},
"hsl": {
"h": 233.538,
"s": 59.091,
"l": 56.863
},
"oklch": {
"l": 0.53546,
"c": 0.1775,
"h": 273.6
},
"luminance": 0.14364
}Semantic roles & 50–950 ramp
primary
#505ED2
secondary
#D9D4A4
accent
#D146E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83