#4E519D

#4e519d ≈ Ocean Blue

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

#4e519d is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 30.59% red, 31.76% green and 61.57% blue; printed in CMYK it uses 50.32% cyan, 48.41% magenta, 0% yellow and 38.43% black. Its hue angle is 237.72°, with 33.62% saturation and 46.08% 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.03:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 6.56.

Description generated from the measured properties of this color.

Conversions of #4e519d 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.0994

Readable text 7.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.99:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #55567a ≈ 0.001% of males
Protanopia #305ca0 ≈ 1.01% of males
Deuteranopia #29569b ≈ 1.27% of males
Tritanopia #30616f ≈ 0.0001% of males
Protanomaly #3e589f ≈ 1.08% of males
Deuteranomaly #3b549c ≈ 4.63% of males
Tritanomaly #3e5b84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e519d {
  color: #4e519d;
}
Background
.bg-4e519d {
  background-color: #4e519d;
  color: #ffffff;
}
Border
.border-4e519d {
  border: 2px solid #4e519d;
}
CSS variables
:root {
  --color-primary: #4e519d;
  --color-primary-rgb: 78 81 157;
  --color-primary-hsl: 238 34% 46%;
}
Gradient
.gradient-4e519d {
  background: linear-gradient(135deg, #4e519d, #734e9d);
}
Colored shadow
.shadow-4e519d {
  box-shadow: 0 8px 24px rgb(78 81 157 / 0.35);
}

Ocean Blue
#4e519d  rgb(78, 81, 157)  hsl(238, 34%, 46%)  Ocean Blue
#9d9a4e  rgb(157, 154, 78)  hsl(58, 34%, 46%)  Moss Green
#9d4e51  rgb(157, 78, 81)  hsl(358, 34%, 46%)  Redwood
#519d4e  rgb(81, 157, 78)  hsl(118, 34%, 46%)  Shamrock Green