#504FA7

#504fa7 ≈ Ocean Blue

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#504fa7 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 31.37% red, 30.98% green and 65.49% blue; printed in CMYK it uses 52.1% cyan, 52.69% magenta, 0% yellow and 34.51% black. Its hue angle is 240.68°, with 35.77% saturation and 48.24% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 6.96:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.76.

Description generated from the measured properties of this color.

Conversions of #504fa7 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#666699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1009

Readable text 6.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #565580 ≈ 0.001% of males
Protanopia #215daa ≈ 1.01% of males
Deuteranopia #1756a5 ≈ 1.27% of males
Tritanopia #2c6373 ≈ 0.0001% of males
Protanomaly #3958a9 ≈ 1.08% of males
Deuteranomaly #3653a6 ≈ 4.63% of males
Tritanomaly #3e5b8b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-504fa7 {
  color: #504fa7;
}
Background
.bg-504fa7 {
  background-color: #504fa7;
  color: #ffffff;
}
Border
.border-504fa7 {
  border: 2px solid #504fa7;
}
CSS variables
:root {
  --color-primary: #504fa7;
  --color-primary-rgb: 80 79 167;
  --color-primary-hsl: 241 36% 48%;
}
Gradient
.gradient-504fa7 {
  background: linear-gradient(135deg, #504fa7, #7c4fa7);
}
Colored shadow
.shadow-504fa7 {
  box-shadow: 0 8px 24px rgb(80 79 167 / 0.35);
}

Ocean Blue
#504fa7  rgb(80, 79, 167)  hsl(241, 36%, 48%)  Ocean Blue
#a6a74f  rgb(166, 167, 79)  hsl(61, 36%, 48%)  Brass
#a7504f  rgb(167, 80, 79)  hsl(1, 36%, 48%)  Redwood
#4fa750  rgb(79, 167, 80)  hsl(121, 36%, 48%)  Medium Sea Green