#4A2FBC

#4a2fbc ≈ Ocean Blue

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

#4a2fbc is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 29.02% red, 18.43% green and 73.73% blue; printed in CMYK it uses 60.64% cyan, 75% magenta, 0% yellow and 26.27% black. Its hue angle is 251.49°, with 60% saturation and 46.08% 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.66:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.75.

Description generated from the measured properties of this color.

Conversions of #4a2fbc 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.0712

Readable text 8.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #4b4287 ≈ 0.001% of males
Protanopia #0050c0 ≈ 1.01% of males
Deuteranopia #0047b9 ≈ 1.27% of males
Tritanopia #005773 ≈ 0.0001% of males
Protanomaly #0045be ≈ 1.08% of males
Deuteranomaly #003eba ≈ 4.63% of males
Tritanomaly #2b4a96 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4a2fbc {
  color: #4a2fbc;
}
Background
.bg-4a2fbc {
  background-color: #4a2fbc;
  color: #ffffff;
}
Border
.border-4a2fbc {
  border: 2px solid #4a2fbc;
}
CSS variables
:root {
  --color-primary: #4a2fbc;
  --color-primary-rgb: 74 47 188;
  --color-primary-hsl: 251 60% 46%;
}
Gradient
.gradient-4a2fbc {
  background: linear-gradient(135deg, #4a2fbc, #912fbc);
}
Colored shadow
.shadow-4a2fbc {
  box-shadow: 0 8px 24px rgb(74 47 188 / 0.35);
}

Ocean Blue
#4a2fbc  rgb(74, 47, 188)  hsl(251, 60%, 46%)  Ocean Blue
#a1bc2f  rgb(161, 188, 47)  hsl(71, 60%, 46%)  Apple Green
#bc4a2f  rgb(188, 74, 47)  hsl(11, 60%, 46%)  Rust
#2fbc4a  rgb(47, 188, 74)  hsl(131, 60%, 46%)  Lime Green