#4E38D0

#4e38d0 ≈ Ocean Blue

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

#4e38d0 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 81.57% blue; printed in CMYK it uses 62.5% cyan, 73.08% magenta, 0% yellow and 18.43% black. Its hue angle is 248.68°, with 61.79% saturation and 51.76% 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.5:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.31.

Description generated from the measured properties of this color.

Conversions of #4e38d0 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.09

Readable text 7.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #524b96 ≈ 0.001% of males
Protanopia #005ad4 ≈ 1.01% of males
Deuteranopia #004fcd ≈ 1.27% of males
Tritanopia #006381 ≈ 0.0001% of males
Protanomaly #004fd3 ≈ 1.08% of males
Deuteranomaly #0047ce ≈ 4.63% of males
Tritanomaly #2555a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e38d0 {
  color: #4e38d0;
}
Background
.bg-4e38d0 {
  background-color: #4e38d0;
  color: #ffffff;
}
Border
.border-4e38d0 {
  border: 2px solid #4e38d0;
}
CSS variables
:root {
  --color-primary: #4e38d0;
  --color-primary-rgb: 78 56 208;
  --color-primary-hsl: 249 62% 52%;
}
Gradient
.gradient-4e38d0 {
  background: linear-gradient(135deg, #4e38d0, #9a38d0);
}
Colored shadow
.shadow-4e38d0 {
  box-shadow: 0 8px 24px rgb(78 56 208 / 0.35);
}

Ocean Blue
#4e38d0  rgb(78, 56, 208)  hsl(249, 62%, 52%)  Ocean Blue
#bad038  rgb(186, 208, 56)  hsl(69, 62%, 52%)  June Bud
#d04e38  rgb(208, 78, 56)  hsl(9, 62%, 52%)  Cinnabar
#38d04e  rgb(56, 208, 78)  hsl(129, 62%, 52%)  Malachite