#4E4FAF

#4e4faf ≈ Ocean Blue

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

#4e4faf is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 30.59% red, 30.98% green and 68.63% blue; printed in CMYK it uses 55.43% cyan, 54.86% magenta, 0% yellow and 31.37% black. Its hue angle is 239.38°, with 38.34% saturation and 49.61% 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.86:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.23.

Description generated from the measured properties of this color.

Conversions of #4e4faf 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.1031

Readable text 6.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5a5a5a ≈ 0.003% of males
Achromatomaly #565685 ≈ 0.001% of males
Protanopia #125eb2 ≈ 1.01% of males
Deuteranopia #0057ad ≈ 1.27% of males
Tritanopia #1e6577 ≈ 0.0001% of males
Protanomaly #3459b1 ≈ 1.08% of males
Deuteranomaly #3054ae ≈ 4.63% of males
Tritanomaly #375d91 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e4faf {
  color: #4e4faf;
}
Background
.bg-4e4faf {
  background-color: #4e4faf;
  color: #ffffff;
}
Border
.border-4e4faf {
  border: 2px solid #4e4faf;
}
CSS variables
:root {
  --color-primary: #4e4faf;
  --color-primary-rgb: 78 79 175;
  --color-primary-hsl: 239 38% 50%;
}
Gradient
.gradient-4e4faf {
  background: linear-gradient(135deg, #4e4faf, #7e4eaf);
}
Colored shadow
.shadow-4e4faf {
  box-shadow: 0 8px 24px rgb(78 79 175 / 0.35);
}

Ocean Blue
#4e4faf  rgb(78, 79, 175)  hsl(239, 38%, 50%)  Ocean Blue
#afae4e  rgb(175, 174, 78)  hsl(59, 38%, 50%)  Brass
#af4e4f  rgb(175, 78, 79)  hsl(359, 38%, 50%)  Redwood
#4faf4e  rgb(79, 175, 78)  hsl(119, 38%, 50%)  Mantis