#4F2FC2

#4f2fc2 ≈ Ocean Blue

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

#4f2fc2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.98% red, 18.43% green and 76.08% blue; printed in CMYK it uses 59.28% cyan, 75.77% magenta, 0% yellow and 23.92% black. Its hue angle is 253.06°, with 61% saturation and 47.25% 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.34:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.86.

Description generated from the measured properties of this color.

Conversions of #4f2fc2 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.0759

Readable text 8.34:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.52:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #4e438c ≈ 0.001% of males
Protanopia #0052c6 ≈ 1.01% of males
Deuteranopia #0049bf ≈ 1.27% of males
Tritanopia #005977 ≈ 0.0001% of males
Protanomaly #0047c5 ≈ 1.08% of males
Deuteranomaly #0040c0 ≈ 4.63% of males
Tritanomaly #314c9b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4f2fc2 {
  color: #4f2fc2;
}
Background
.bg-4f2fc2 {
  background-color: #4f2fc2;
  color: #ffffff;
}
Border
.border-4f2fc2 {
  border: 2px solid #4f2fc2;
}
CSS variables
:root {
  --color-primary: #4f2fc2;
  --color-primary-rgb: 79 47 194;
  --color-primary-hsl: 253 61% 47%;
}
Gradient
.gradient-4f2fc2 {
  background: linear-gradient(135deg, #4f2fc2, #982fc2);
}
Colored shadow
.shadow-4f2fc2 {
  box-shadow: 0 8px 24px rgb(79 47 194 / 0.35);
}

Ocean Blue
#4f2fc2  rgb(79, 47, 194)  hsl(253, 61%, 47%)  Ocean Blue
#a2c22f  rgb(162, 194, 47)  hsl(73, 61%, 47%)  Yellow Green
#c24f2f  rgb(194, 79, 47)  hsl(13, 61%, 47%)  Sinopia
#2fc24f  rgb(47, 194, 79)  hsl(133, 61%, 47%)  Lime Green