#4E38CB

#4e38cb ≈ Ocean Blue

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

#4e38cb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 21.96% green and 79.61% blue; printed in CMYK it uses 61.58% cyan, 72.41% magenta, 0% yellow and 20.39% black. Its hue angle is 248.98°, with 58.57% saturation and 50.78% 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.63:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.84.

Description generated from the measured properties of this color.

Conversions of #4e38cb 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.0876

Readable text 7.63:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #514a93 ≈ 0.001% of males
Protanopia #0059cf ≈ 1.01% of males
Deuteranopia #004ec8 ≈ 1.27% of males
Tritanopia #00617e ≈ 0.0001% of males
Protanomaly #004ece ≈ 1.08% of males
Deuteranomaly #0046c9 ≈ 4.63% of males
Tritanomaly #2953a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e38cb {
  color: #4e38cb;
}
Background
.bg-4e38cb {
  background-color: #4e38cb;
  color: #ffffff;
}
Border
.border-4e38cb {
  border: 2px solid #4e38cb;
}
CSS variables
:root {
  --color-primary: #4e38cb;
  --color-primary-rgb: 78 56 203;
  --color-primary-hsl: 249 59% 51%;
}
Gradient
.gradient-4e38cb {
  background: linear-gradient(135deg, #4e38cb, #9738cb);
}
Colored shadow
.shadow-4e38cb {
  box-shadow: 0 8px 24px rgb(78 56 203 / 0.35);
}

Ocean Blue
#4e38cb  rgb(78, 56, 203)  hsl(249, 59%, 51%)  Ocean Blue
#b5cb38  rgb(181, 203, 56)  hsl(69, 59%, 51%)  June Bud
#cb4e38  rgb(203, 78, 56)  hsl(9, 59%, 51%)  Cinnabar
#38cb4e  rgb(56, 203, 78)  hsl(129, 59%, 51%)  Lime Green