#4C2FC0

#4c2fc0 ≈ Ocean Blue

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

#4c2fc0 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 29.8% red, 18.43% green and 75.29% blue; printed in CMYK it uses 60.42% cyan, 75.52% magenta, 0% yellow and 24.71% black. Its hue angle is 252°, with 60.67% saturation and 46.86% 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.48:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.8.

Description generated from the measured properties of this color.

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

Readable text 8.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #4c438a ≈ 0.001% of males
Protanopia #0051c4 ≈ 1.01% of males
Deuteranopia #0048bd ≈ 1.27% of males
Tritanopia #005876 ≈ 0.0001% of males
Protanomaly #0046c2 ≈ 1.08% of males
Deuteranomaly #003fbe ≈ 4.63% of males
Tritanomaly #2c4b99 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4c2fc0 {
  color: #4c2fc0;
}
Background
.bg-4c2fc0 {
  background-color: #4c2fc0;
  color: #ffffff;
}
Border
.border-4c2fc0 {
  border: 2px solid #4c2fc0;
}
CSS variables
:root {
  --color-primary: #4c2fc0;
  --color-primary-rgb: 76 47 192;
  --color-primary-hsl: 252 61% 47%;
}
Gradient
.gradient-4c2fc0 {
  background: linear-gradient(135deg, #4c2fc0, #942fc0);
}
Colored shadow
.shadow-4c2fc0 {
  box-shadow: 0 8px 24px rgb(76 47 192 / 0.35);
}

Ocean Blue
#4c2fc0  rgb(76, 47, 192)  hsl(252, 61%, 47%)  Ocean Blue
#a3c02f  rgb(163, 192, 47)  hsl(72, 61%, 47%)  Apple Green
#c04c2f  rgb(192, 76, 47)  hsl(12, 61%, 47%)  Sinopia
#2fc04c  rgb(47, 192, 76)  hsl(132, 61%, 47%)  Lime Green