#4E40CF

#4e40cf ≈ Ocean Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#4e40cf is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 25.1% green and 81.18% blue; printed in CMYK it uses 62.32% cyan, 69.08% magenta, 0% yellow and 18.82% black. Its hue angle is 245.87°, with 59.83% saturation and 53.14% 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.1:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.58.

Description generated from the measured properties of this color.

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

Readable text 7.1:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #545097 ≈ 0.001% of males
Protanopia #005ed3 ≈ 1.01% of males
Deuteranopia #0052cc ≈ 1.27% of males
Tritanopia #006683 ≈ 0.0001% of males
Protanomaly #0053d2 ≈ 1.08% of males
Deuteranomaly #004ccd ≈ 4.63% of males
Tritanomaly #2559a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e40cf {
  color: #4e40cf;
}
Background
.bg-4e40cf {
  background-color: #4e40cf;
  color: #ffffff;
}
Border
.border-4e40cf {
  border: 2px solid #4e40cf;
}
CSS variables
:root {
  --color-primary: #4e40cf;
  --color-primary-rgb: 78 64 207;
  --color-primary-hsl: 246 60% 53%;
}
Gradient
.gradient-4e40cf {
  background: linear-gradient(135deg, #4e40cf, #9540cf);
}
Colored shadow
.shadow-4e40cf {
  box-shadow: 0 8px 24px rgb(78 64 207 / 0.35);
}

Ocean Blue
#4e40cf  rgb(78, 64, 207)  hsl(246, 60%, 53%)  Ocean Blue
#c1cf40  rgb(193, 207, 64)  hsl(66, 60%, 53%)  June Bud
#cf4e40  rgb(207, 78, 64)  hsl(6, 60%, 53%)  Cinnabar
#40cf4e  rgb(64, 207, 78)  hsl(126, 60%, 53%)  Lime Green