#507EC5#507EC5
#507EC5 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.3% C 0.120 H 258.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #507EC5 |
|---|---|
| RGB | rgb(80, 126, 197) |
| HSL | hsl(216, 50%, 54%) |
| HSV | hsv(216, 59%, 77%) |
| CMYK | cmyk(59.4%, 36%, 0%, 22.7%) |
| CIE-LAB | lab(52.57, 5.95, -41.73) |
| CIE-LCH | lch(52.57, 42.15, 278.12°) |
| OKLab | oklab(59.27% -0.0234 -0.1182) |
| OKLCH | oklch(59.27% 0.12 258.8) |
| XYZ | xyz(20.8436, 20.6566, 55.7012) |
| Luminance | 0.2066 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.98
Off Blue
#5684AE
ΔE00 4.23
Cool Blue
#4984B8
ΔE00 4.35
Steel Blue
#4682B4
ΔE00 4.67
Dusty Blue
#5A86AD
ΔE00 4.86
Faded Blue
#658CBB
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#507EC5 #C59750
analogous
#50B9C5 #507EC5 #5D50C5
triadic
#507EC5 #C5507E #7EC550
tetradic
#507EC5 #C550B9 #C59750 #50C55D
square
#507EC5 #C550B9 #C59750 #50C55D
split-complementary
#507EC5 #C55D50 #B9C550
monochromatic
#264574 #3660A2 #507EC5 #7EA0D4 #ACC2E3
Accessibility & contrast
On white
4.09
#507EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#507EC5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #507EC5
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##507EC5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##507EC5 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6083C8
Deuteranopia (green-blind)
#5178C4
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #507ec5; /* rgb */ color: rgb(80, 126, 197); /* oklch */ color: oklch(59.3% 0.120 258.8);
Tailwind
colors: {
custom: {
50: '#8aa3d7',
500: '#507ec5',
950: '#000000',
},
}SCSS
$custom: #507ec5; $custom-light: #8aa3d7; $custom-dark: #000000;
JSON
{
"hex": "#507ec5",
"rgb": {
"r": 80,
"g": 126,
"b": 197
},
"hsl": {
"h": 216.41,
"s": 50.215,
"l": 54.314
},
"oklch": {
"l": 0.59273,
"c": 0.12049,
"h": 258.8
},
"luminance": 0.20658
}Semantic roles & 50–950 ramp
primary
#507EC5
secondary
#D1BEA0
accent
#A34EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F14
muted
#7D7E83