#504DB5

#504db5 ≈ Ocean Blue

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

#504db5 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 70.98% blue; printed in CMYK it uses 55.8% cyan, 57.46% magenta, 0% yellow and 29.02% black. Its hue angle is 241.73°, with 41.27% saturation and 50.59% 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.84:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.28.

Description generated from the measured properties of this color.

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

Readable text 6.84:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.07:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #575588 ≈ 0.001% of males
Protanopia #005fb8 ≈ 1.01% of males
Deuteranopia #0057b3 ≈ 1.27% of males
Tritanopia #1d6579 ≈ 0.0001% of males
Protanomaly #3058b7 ≈ 1.08% of males
Deuteranomaly #2c53b4 ≈ 4.63% of males
Tritanomaly #385d95 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#504db5  rgb(80, 77, 181)  hsl(242, 41%, 51%)  Ocean Blue
#b2b54d  rgb(178, 181, 77)  hsl(62, 41%, 51%)  Dark Khaki
#b5504d  rgb(181, 80, 77)  hsl(2, 41%, 51%)  Redwood
#4db550  rgb(77, 181, 80)  hsl(122, 41%, 51%)  Mantis