#4E42C8

#4e42c8 ≈ Ocean Blue

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

#4e42c8 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.88% green and 78.43% blue; printed in CMYK it uses 61% cyan, 67% magenta, 0% yellow and 21.57% black. Its hue angle is 245.37°, with 54.92% saturation and 52.16% 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.15:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 2.65.

Description generated from the measured properties of this color.

Conversions of #4e42c8 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.0969

Readable text 7.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #545092 ≈ 0.001% of males
Protanopia #005dcc ≈ 1.01% of males
Deuteranopia #0052c5 ≈ 1.27% of males
Tritanopia #00657f ≈ 0.0001% of males
Protanomaly #0353ca ≈ 1.08% of males
Deuteranomaly #004cc6 ≈ 4.63% of males
Tritanomaly #2a59a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e42c8 {
  color: #4e42c8;
}
Background
.bg-4e42c8 {
  background-color: #4e42c8;
  color: #ffffff;
}
Border
.border-4e42c8 {
  border: 2px solid #4e42c8;
}
CSS variables
:root {
  --color-primary: #4e42c8;
  --color-primary-rgb: 78 66 200;
  --color-primary-hsl: 245 55% 52%;
}
Gradient
.gradient-4e42c8 {
  background: linear-gradient(135deg, #4e42c8, #9142c8);
}
Colored shadow
.shadow-4e42c8 {
  box-shadow: 0 8px 24px rgb(78 66 200 / 0.35);
}

Ocean Blue
#4e42c8  rgb(78, 66, 200)  hsl(245, 55%, 52%)  Ocean Blue
#bcc842  rgb(188, 200, 66)  hsl(65, 55%, 52%)  June Bud
#c84e42  rgb(200, 78, 66)  hsl(5, 55%, 52%)  Persian Red
#42c84e  rgb(66, 200, 78)  hsl(125, 55%, 52%)  Lime Green