#504DA4

#504da4 ≈ Ocean Blue

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

#504da4 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.2% green and 64.31% blue; printed in CMYK it uses 51.22% cyan, 53.05% magenta, 0% yellow and 35.69% black. Its hue angle is 242.07°, with 36.1% saturation and 47.25% 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 7.15:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.52.

Description generated from the measured properties of this color.

Conversions of #504da4 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.0969

Readable text 7.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #55547d ≈ 0.001% of males
Protanopia #205ba7 ≈ 1.01% of males
Deuteranopia #1755a2 ≈ 1.27% of males
Tritanopia #2f6071 ≈ 0.0001% of males
Protanomaly #3956a6 ≈ 1.08% of males
Deuteranomaly #3652a3 ≈ 4.63% of males
Tritanomaly #3f5988 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-504da4 {
  color: #504da4;
}
Background
.bg-504da4 {
  background-color: #504da4;
  color: #ffffff;
}
Border
.border-504da4 {
  border: 2px solid #504da4;
}
CSS variables
:root {
  --color-primary: #504da4;
  --color-primary-rgb: 80 77 164;
  --color-primary-hsl: 242 36% 47%;
}
Gradient
.gradient-504da4 {
  background: linear-gradient(135deg, #504da4, #7b4da4);
}
Colored shadow
.shadow-504da4 {
  box-shadow: 0 8px 24px rgb(80 77 164 / 0.35);
}

Ocean Blue
#504da4  rgb(80, 77, 164)  hsl(242, 36%, 47%)  Ocean Blue
#a1a44d  rgb(161, 164, 77)  hsl(62, 36%, 47%)  Brass
#a4504d  rgb(164, 80, 77)  hsl(2, 36%, 47%)  Redwood
#4da450  rgb(77, 164, 80)  hsl(122, 36%, 47%)  Medium Sea Green