#507DC7#507DC7
#507DC7 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.124 H 259.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #507DC7 |
|---|---|
| RGB | rgb(80, 125, 199) |
| HSL | hsl(217, 52%, 55%) |
| HSV | hsv(217, 60%, 78%) |
| CMYK | cmyk(59.8%, 37.2%, 0%, 22%) |
| CIE-LAB | lab(52.39, 7.23, -43.15) |
| CIE-LCH | lch(52.39, 43.75, 279.51°) |
| OKLab | oklab(59.17% -0.0218 -0.1224) |
| OKLCH | oklch(59.17% 0.124 259.9) |
| XYZ | xyz(20.9471, 20.4944, 56.8737) |
| Luminance | 0.2050 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 4.09
Off Blue
#5684AE
ΔE00 4.58
Cool Blue
#4984B8
ΔE00 4.78
Steel Blue
#4682B4
ΔE00 5.07
Dusty Blue
#5A86AD
ΔE00 5.19
Clear Blue
#247AFD
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#507DC7 #C79A50
analogous
#50B8C7 #507DC7 #5F50C7
triadic
#507DC7 #C7507D #7DC750
tetradic
#507DC7 #C750B8 #C79A50 #50C75F
square
#507DC7 #C750B8 #C79A50 #50C75F
split-complementary
#507DC7 #C75F50 #B8C750
monochromatic
#264477 #355FA5 #507DC7 #7E9FD6 #ADC2E5
Accessibility & contrast
On white
4.12
#507DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#507DC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #507DC7
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##507DC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##507DC7 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E83CA
Deuteranopia (green-blind)
#4E78C5
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #507dc7; /* rgb */ color: rgb(80, 125, 199); /* oklch */ color: oklch(59.2% 0.124 259.9);
Tailwind
colors: {
custom: {
50: '#8ba2d8',
500: '#507dc7',
950: '#000000',
},
}SCSS
$custom: #507dc7; $custom-light: #8ba2d8; $custom-dark: #000000;
JSON
{
"hex": "#507dc7",
"rgb": {
"r": 80,
"g": 125,
"b": 199
},
"hsl": {
"h": 217.311,
"s": 51.515,
"l": 54.706
},
"oklch": {
"l": 0.59167,
"c": 0.12429,
"h": 259.9
},
"luminance": 0.20496
}Semantic roles & 50–950 ramp
primary
#507DC7
secondary
#D2C0A0
accent
#A54DDB
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0F14
muted
#7E7E83