#4E40B3

#4e40b3 ≈ Ocean Blue

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

#4e40b3 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 30.59% red, 25.1% green and 70.2% blue; printed in CMYK it uses 56.42% cyan, 64.25% magenta, 0% yellow and 29.8% black. Its hue angle is 247.3°, with 47.33% saturation and 47.65% 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.75:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 0.62.

Description generated from the measured properties of this color.

Conversions of #4e40b3 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.0854

Readable text 7.75:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #514c84 ≈ 0.001% of males
Protanopia #0056b7 ≈ 1.01% of males
Deuteranopia #004fb1 ≈ 1.27% of males
Tritanopia #1b5d73 ≈ 0.0001% of males
Protanomaly #204eb5 ≈ 1.08% of males
Deuteranomaly #1d49b2 ≈ 4.63% of males
Tritanomaly #365391 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e40b3 {
  color: #4e40b3;
}
Background
.bg-4e40b3 {
  background-color: #4e40b3;
  color: #ffffff;
}
Border
.border-4e40b3 {
  border: 2px solid #4e40b3;
}
CSS variables
:root {
  --color-primary: #4e40b3;
  --color-primary-rgb: 78 64 179;
  --color-primary-hsl: 247 47% 48%;
}
Gradient
.gradient-4e40b3 {
  background: linear-gradient(135deg, #4e40b3, #8840b3);
}
Colored shadow
.shadow-4e40b3 {
  box-shadow: 0 8px 24px rgb(78 64 179 / 0.35);
}

Ocean Blue
#4e40b3  rgb(78, 64, 179)  hsl(247, 47%, 48%)  Ocean Blue
#a5b340  rgb(165, 179, 64)  hsl(67, 47%, 48%)  Apple Green
#b34e40  rgb(179, 78, 64)  hsl(7, 47%, 48%)  Redwood
#40b34e  rgb(64, 179, 78)  hsl(127, 47%, 48%)  Medium Sea Green