#4D52A2

#4d52a2 ≈ Ocean Blue

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

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

Description generated from the measured properties of this color.

Conversions of #4d52a2 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.1022

Readable text 6.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5a5a5a ≈ 0.003% of males
Achromatomaly #55577d ≈ 0.001% of males
Protanopia #2d5da5 ≈ 1.01% of males
Deuteranopia #2457a0 ≈ 1.27% of males
Tritanopia #296372 ≈ 0.0001% of males
Protanomaly #3c59a4 ≈ 1.08% of males
Deuteranomaly #3855a1 ≈ 4.63% of males
Tritanomaly #3a5d88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4d52a2 {
  color: #4d52a2;
}
Background
.bg-4d52a2 {
  background-color: #4d52a2;
  color: #ffffff;
}
Border
.border-4d52a2 {
  border: 2px solid #4d52a2;
}
CSS variables
:root {
  --color-primary: #4d52a2;
  --color-primary-rgb: 77 82 162;
  --color-primary-hsl: 236 36% 47%;
}
Gradient
.gradient-4d52a2 {
  background: linear-gradient(135deg, #4d52a2, #724da2);
}
Colored shadow
.shadow-4d52a2 {
  box-shadow: 0 8px 24px rgb(77 82 162 / 0.35);
}

Ocean Blue
#4d52a2  rgb(77, 82, 162)  hsl(236, 36%, 47%)  Ocean Blue
#a29d4d  rgb(162, 157, 77)  hsl(56, 36%, 47%)  Brass
#a24d52  rgb(162, 77, 82)  hsl(356, 36%, 47%)  Redwood
#52a24d  rgb(82, 162, 77)  hsl(116, 36%, 47%)  Medium Sea Green