#5752A2

#5752a2 ≈ Ocean Blue

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

#5752a2 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 34.12% red, 32.16% green and 63.53% blue; printed in CMYK it uses 46.3% cyan, 49.38% magenta, 0% yellow and 36.47% black. Its hue angle is 243.75°, with 32.79% saturation and 47.84% 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.7:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 6.13.

Description generated from the measured properties of this color.

Conversions of #5752a2 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.1067

Readable text 6.7:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.13:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #5a587e ≈ 0.001% of males
Protanopia #305ea5 ≈ 1.01% of males
Deuteranopia #2c59a0 ≈ 1.27% of males
Tritanopia #3e6372 ≈ 0.0001% of males
Protanomaly #435aa4 ≈ 1.08% of males
Deuteranomaly #4156a1 ≈ 4.63% of males
Tritanomaly #495d88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5752a2 {
  color: #5752a2;
}
Background
.bg-5752a2 {
  background-color: #5752a2;
  color: #ffffff;
}
Border
.border-5752a2 {
  border: 2px solid #5752a2;
}
CSS variables
:root {
  --color-primary: #5752a2;
  --color-primary-rgb: 87 82 162;
  --color-primary-hsl: 244 33% 48%;
}
Gradient
.gradient-5752a2 {
  background: linear-gradient(135deg, #5752a2, #7f52a2);
}
Colored shadow
.shadow-5752a2 {
  box-shadow: 0 8px 24px rgb(87 82 162 / 0.35);
}

Ocean Blue
#5752a2  rgb(87, 82, 162)  hsl(244, 33%, 48%)  Ocean Blue
#9da252  rgb(157, 162, 82)  hsl(64, 33%, 48%)  Moss Green
#a25752  rgb(162, 87, 82)  hsl(4, 33%, 48%)  Redwood
#52a257  rgb(82, 162, 87)  hsl(124, 33%, 48%)  Shamrock Green