#4C2DB0

#4c2db0 ≈ Ocean Blue

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

#4c2db0 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 29.8% red, 17.65% green and 69.02% blue; printed in CMYK it uses 56.82% cyan, 74.43% magenta, 0% yellow and 30.98% black. Its hue angle is 254.2°, with 59.28% saturation and 43.33% 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 5.27.

Description generated from the measured properties of this color.

Conversions of #4c2db0 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0655

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 #4a3f7f ≈ 0.001% of males
Protanopia #004cb4 ≈ 1.01% of males
Deuteranopia #0044ae ≈ 1.27% of males
Tritanopia #1b516c ≈ 0.0001% of males
Protanomaly #0042b2 ≈ 1.08% of males
Deuteranomaly #003caf ≈ 4.63% of males
Tritanomaly #35458c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4c2db0 {
  color: #4c2db0;
}
Background
.bg-4c2db0 {
  background-color: #4c2db0;
  color: #ffffff;
}
Border
.border-4c2db0 {
  border: 2px solid #4c2db0;
}
CSS variables
:root {
  --color-primary: #4c2db0;
  --color-primary-rgb: 76 45 176;
  --color-primary-hsl: 254 59% 43%;
}
Gradient
.gradient-4c2db0 {
  background: linear-gradient(135deg, #4c2db0, #8d2db0);
}
Colored shadow
.shadow-4c2db0 {
  box-shadow: 0 8px 24px rgb(76 45 176 / 0.35);
}

Ocean Blue
#4c2db0  rgb(76, 45, 176)  hsl(254, 59%, 43%)  Ocean Blue
#91b02d  rgb(145, 176, 45)  hsl(74, 59%, 43%)  Apple Green
#b04c2d  rgb(176, 76, 45)  hsl(14, 59%, 43%)  Sienna
#2db04c  rgb(45, 176, 76)  hsl(134, 59%, 43%)  Medium Sea Green