#4C2FCB

#4c2fcb ≈ Ocean Blue

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

#4c2fcb 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 79.61% blue; printed in CMYK it uses 62.56% cyan, 76.85% magenta, 0% yellow and 20.39% black. Its hue angle is 251.15°, with 62.4% saturation and 49.02% 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.15:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.22.

Description generated from the measured properties of this color.

Conversions of #4c2fcb 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.0788

Readable text 8.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #4e4592 ≈ 0.001% of males
Protanopia #0055cf ≈ 1.01% of males
Deuteranopia #004ac8 ≈ 1.27% of males
Tritanopia #005d7c ≈ 0.0001% of males
Protanomaly #0048ce ≈ 1.08% of males
Deuteranomaly #0040c9 ≈ 4.63% of males
Tritanomaly #244ea2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4c2fcb {
  color: #4c2fcb;
}
Background
.bg-4c2fcb {
  background-color: #4c2fcb;
  color: #ffffff;
}
Border
.border-4c2fcb {
  border: 2px solid #4c2fcb;
}
CSS variables
:root {
  --color-primary: #4c2fcb;
  --color-primary-rgb: 76 47 203;
  --color-primary-hsl: 251 62% 49%;
}
Gradient
.gradient-4c2fcb {
  background: linear-gradient(135deg, #4c2fcb, #9a2fcb);
}
Colored shadow
.shadow-4c2fcb {
  box-shadow: 0 8px 24px rgb(76 47 203 / 0.35);
}

Ocean Blue
#4c2fcb  rgb(76, 47, 203)  hsl(251, 62%, 49%)  Ocean Blue
#aecb2f  rgb(174, 203, 47)  hsl(71, 62%, 49%)  Yellow Green
#cb4c2f  rgb(203, 76, 47)  hsl(11, 62%, 49%)  Cinnabar
#2fcb4c  rgb(47, 203, 76)  hsl(131, 62%, 49%)  Lime Green