#507ED5#507ED5
#507ED5 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.2% C 0.142 H 262.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #507ED5 |
|---|---|
| RGB | rgb(80, 126, 213) |
| HSL | hsl(219, 61%, 57%) |
| HSV | hsv(219, 62%, 84%) |
| CMYK | cmyk(62.4%, 40.8%, 0%, 16.5%) |
| CIE-LAB | lab(53.42, 11.35, -49.47) |
| CIE-LCH | lch(53.42, 50.76, 282.92°) |
| OKLab | oklab(60.2% -0.0198 -0.1408) |
| OKLCH | oklch(60.2% 0.142 262) |
| XYZ | xyz(22.7752, 21.4292, 65.8739) |
| Luminance | 0.2143 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 4.27
Dodger Blue
#3E82FC
ΔE00 4.27
Lightish Blue
#3D7AFD
ΔE00 4.27
Deep Sky Blue
#0D75F8
ΔE00 4.80
Soft Blue
#6488EA
ΔE00 4.89
Azure
#007FFF
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#507ED5 #D5A750
analogous
#50C1D5 #507ED5 #6550D5
triadic
#507ED5 #D5507E #7ED550
tetradic
#507ED5 #D550C1 #D5A750 #50D565
square
#507ED5 #D550C1 #D5A750 #50D565
split-complementary
#507ED5 #D56550 #C1D550
monochromatic
#21458A #2D5EBB #507ED5 #81A2E1 #B3C7ED
Accessibility & contrast
On white
3.97
#507ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#507ED5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #507ED5
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##507ED5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##507ED5 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5786D8
Deuteranopia (green-blind)
#447AD3
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #507ed5; /* rgb */ color: rgb(80, 126, 213); /* oklch */ color: oklch(60.2% 0.142 262.0);
Tailwind
colors: {
custom: {
50: '#8da2e2',
500: '#507ed5',
950: '#000000',
},
}SCSS
$custom: #507ed5; $custom-light: #8da2e2; $custom-dark: #000000;
JSON
{
"hex": "#507ed5",
"rgb": {
"r": 80,
"g": 126,
"b": 213
},
"hsl": {
"h": 219.248,
"s": 61.29,
"l": 57.451
},
"oklch": {
"l": 0.60203,
"c": 0.14224,
"h": 262
},
"luminance": 0.21431
}Semantic roles & 50–950 ramp
primary
#507ED5
secondary
#DBC9A6
accent
#AD43E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83