#4E28B7

#4e28b7 ≈ Ocean Blue

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

#4e28b7 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 15.69% green and 71.76% blue; printed in CMYK it uses 57.38% cyan, 78.14% magenta, 0% yellow and 28.24% black. Its hue angle is 255.94°, with 64.13% saturation and 43.73% 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 9.09:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 6.12.

Description generated from the measured properties of this color.

Conversions of #4e28b7 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.0656

Readable text 9.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #4b3e83 ≈ 0.001% of males
Protanopia #004cbb ≈ 1.01% of males
Deuteranopia #0044b4 ≈ 1.27% of males
Tritanopia #18526f ≈ 0.0001% of males
Protanomaly #0040b9 ≈ 1.08% of males
Deuteranomaly #003bb5 ≈ 4.63% of males
Tritanomaly #354591 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e28b7 {
  color: #4e28b7;
}
Background
.bg-4e28b7 {
  background-color: #4e28b7;
  color: #ffffff;
}
Border
.border-4e28b7 {
  border: 2px solid #4e28b7;
}
CSS variables
:root {
  --color-primary: #4e28b7;
  --color-primary-rgb: 78 40 183;
  --color-primary-hsl: 256 64% 44%;
}
Gradient
.gradient-4e28b7 {
  background: linear-gradient(135deg, #4e28b7, #9628b7);
}
Colored shadow
.shadow-4e28b7 {
  box-shadow: 0 8px 24px rgb(78 40 183 / 0.35);
}

Ocean Blue
#4e28b7  rgb(78, 40, 183)  hsl(256, 64%, 44%)  Ocean Blue
#91b728  rgb(145, 183, 40)  hsl(76, 64%, 44%)  Apple Green
#b74e28  rgb(183, 78, 40)  hsl(16, 64%, 44%)  Rust
#28b74e  rgb(40, 183, 78)  hsl(136, 64%, 44%)  Medium Sea Green