#507FC7#507FC7
#507FC7 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.6% C 0.122 H 258.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #507FC7 |
|---|---|
| RGB | rgb(80, 127, 199) |
| HSL | hsl(216, 52%, 55%) |
| HSV | hsv(216, 60%, 78%) |
| CMYK | cmyk(59.8%, 36.2%, 0%, 22%) |
| CIE-LAB | lab(52.96, 6.02, -42.26) |
| CIE-LCH | lch(52.96, 42.69, 278.10°) |
| OKLab | oklab(59.61% -0.024 -0.1197) |
| OKLCH | oklch(59.61% 0.122 258.7) |
| XYZ | xyz(21.2028, 21.0059, 56.9589) |
| Luminance | 0.2101 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Off Blue
#5684AE
ΔE00 4.16
Windows Blue
#3778BF
ΔE00 4.18
Cool Blue
#4984B8
ΔE00 4.22
Steel Blue
#4682B4
ΔE00 4.62
Dusty Blue
#5A86AD
ΔE00 4.76
Faded Blue
#658CBB
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#507FC7 #C79850
analogous
#50BAC7 #507FC7 #5D50C7
triadic
#507FC7 #C7507F #7FC750
tetradic
#507FC7 #C750BA #C79850 #50C75D
square
#507FC7 #C750BA #C79850 #50C75D
split-complementary
#507FC7 #C75D50 #BAC750
monochromatic
#264677 #3561A5 #507FC7 #7EA1D6 #ADC3E5
Accessibility & contrast
On white
4.04
#507FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#507FC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #507FC7
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##507FC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##507FC7 | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6185CA
Deuteranopia (green-blind)
#5179C5
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #507fc7; /* rgb */ color: rgb(80, 127, 199); /* oklch */ color: oklch(59.6% 0.122 258.7);
Tailwind
colors: {
custom: {
50: '#8ba3d8',
500: '#507fc7',
950: '#000000',
},
}SCSS
$custom: #507fc7; $custom-light: #8ba3d8; $custom-dark: #000000;
JSON
{
"hex": "#507fc7",
"rgb": {
"r": 80,
"g": 127,
"b": 199
},
"hsl": {
"h": 216.303,
"s": 51.515,
"l": 54.706
},
"oklch": {
"l": 0.59605,
"c": 0.12211,
"h": 258.7
},
"luminance": 0.21008
}Semantic roles & 50–950 ramp
primary
#507FC7
secondary
#D2BFA0
accent
#A34DDB
background
#F9FAFD
surface
#F1F3FA
border
#CBCDD3
text
#0D0F14
muted
#7E7F83