#4E45A0

#4e45a0 ≈ Ocean Blue

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

#4e45a0 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 30.59% red, 27.06% green and 62.75% blue; printed in CMYK it uses 51.25% cyan, 56.88% magenta, 0% yellow and 37.25% black. Its hue angle is 245.93°, with 39.74% saturation and 44.9% 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.83:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.51.

Description generated from the measured properties of this color.

Conversions of #4e45a0 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#663399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0841

Readable text 7.83:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #504d79 ≈ 0.001% of males
Protanopia #0755a3 ≈ 1.01% of males
Deuteranopia #004f9e ≈ 1.27% of males
Tritanopia #2f5a6b ≈ 0.0001% of males
Protanomaly #324fa2 ≈ 1.08% of males
Deuteranomaly #304b9f ≈ 4.63% of males
Tritanomaly #3e5284 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e45a0 {
  color: #4e45a0;
}
Background
.bg-4e45a0 {
  background-color: #4e45a0;
  color: #ffffff;
}
Border
.border-4e45a0 {
  border: 2px solid #4e45a0;
}
CSS variables
:root {
  --color-primary: #4e45a0;
  --color-primary-rgb: 78 69 160;
  --color-primary-hsl: 246 40% 45%;
}
Gradient
.gradient-4e45a0 {
  background: linear-gradient(135deg, #4e45a0, #7b45a0);
}
Colored shadow
.shadow-4e45a0 {
  box-shadow: 0 8px 24px rgb(78 69 160 / 0.35);
}

Ocean Blue
#4e45a0  rgb(78, 69, 160)  hsl(246, 40%, 45%)  Ocean Blue
#97a045  rgb(151, 160, 69)  hsl(66, 40%, 45%)  Moss Green
#a04e45  rgb(160, 78, 69)  hsl(6, 40%, 45%)  Redwood
#45a04e  rgb(69, 160, 78)  hsl(126, 40%, 45%)  Shamrock Green