#4E38BC

#4e38bc ≈ Ocean Blue

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#4e38bc is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 21.96% green and 73.73% blue; printed in CMYK it uses 58.51% cyan, 70.21% magenta, 0% yellow and 26.27% black. Its hue angle is 250°, with 54.1% saturation and 47.84% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 8.03:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 2.79.

Description generated from the measured properties of this color.

Conversions of #4e38bc 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.0808

Readable text 8.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #4f4889 ≈ 0.001% of males
Protanopia #0054c0 ≈ 1.01% of males
Deuteranopia #004cb9 ≈ 1.27% of males
Tritanopia #095b76 ≈ 0.0001% of males
Protanomaly #024bbe ≈ 1.08% of males
Deuteranomaly #0045bb ≈ 4.63% of males
Tritanomaly #324f97 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e38bc {
  color: #4e38bc;
}
Background
.bg-4e38bc {
  background-color: #4e38bc;
  color: #ffffff;
}
Border
.border-4e38bc {
  border: 2px solid #4e38bc;
}
CSS variables
:root {
  --color-primary: #4e38bc;
  --color-primary-rgb: 78 56 188;
  --color-primary-hsl: 250 54% 48%;
}
Gradient
.gradient-4e38bc {
  background: linear-gradient(135deg, #4e38bc, #9038bc);
}
Colored shadow
.shadow-4e38bc {
  box-shadow: 0 8px 24px rgb(78 56 188 / 0.35);
}

Ocean Blue
#4e38bc  rgb(78, 56, 188)  hsl(250, 54%, 48%)  Ocean Blue
#a6bc38  rgb(166, 188, 56)  hsl(70, 54%, 48%)  Apple Green
#bc4e38  rgb(188, 78, 56)  hsl(10, 54%, 48%)  Persian Red
#38bc4e  rgb(56, 188, 78)  hsl(130, 54%, 48%)  Mantis