#507FCC#507FCC
#507FCC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.9% C 0.129 H 259.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #507FCC |
|---|---|
| RGB | rgb(80, 127, 204) |
| HSL | hsl(217, 55%, 56%) |
| HSV | hsv(217, 61%, 80%) |
| CMYK | cmyk(60.8%, 37.7%, 0%, 20%) |
| CIE-LAB | lab(53.21, 7.70, -44.70) |
| CIE-LCH | lch(53.21, 45.35, 279.77°) |
| OKLab | oklab(59.89% -0.0228 -0.1268) |
| OKLCH | oklch(59.89% 0.129 259.8) |
| XYZ | xyz(21.7929, 21.2419, 60.0667) |
| Luminance | 0.2124 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Off Blue
#5684AE
ΔE00 4.52
Windows Blue
#3778BF
ΔE00 4.55
Cool Blue
#4984B8
ΔE00 4.61
Dodger Blue
#3E82FC
ΔE00 4.92
Clear Blue
#247AFD
ΔE00 4.92
Dusty Blue
#5A86AD
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#507FCC #CC9D50
analogous
#50BDCC #507FCC #5F50CC
triadic
#507FCC #CC507F #7FCC50
tetradic
#507FCC #CC50BD #CC9D50 #50CC5F
square
#507FCC #CC50BD #CC9D50 #50CC5F
split-complementary
#507FCC #CC5F50 #BDCC50
monochromatic
#24467D #3261AD #507FCC #7FA2DA #AFC4E8
Accessibility & contrast
On white
4.00
#507FCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#507FCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #507FCC
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##507FCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##507FCC | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E85CF
Deuteranopia (green-blind)
#4D7ACA
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #507fcc; /* rgb */ color: rgb(80, 127, 204); /* oklch */ color: oklch(59.9% 0.129 259.8);
Tailwind
colors: {
custom: {
50: '#8ba3dc',
500: '#507fcc',
950: '#000000',
},
}SCSS
$custom: #507fcc; $custom-light: #8ba3dc; $custom-dark: #000000;
JSON
{
"hex": "#507fcc",
"rgb": {
"r": 80,
"g": 127,
"b": 204
},
"hsl": {
"h": 217.258,
"s": 54.867,
"l": 55.686
},
"oklch": {
"l": 0.59889,
"c": 0.12888,
"h": 259.8
},
"luminance": 0.21244
}Semantic roles & 50–950 ramp
primary
#507FCC
secondary
#D6C2A2
accent
#A64ADE
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83