#4B2BB5

#4b2bb5 ≈ Ocean Blue

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

#4b2bb5 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 29.41% red, 16.86% green and 70.98% blue; printed in CMYK it uses 58.56% cyan, 76.24% magenta, 0% yellow and 29.02% black. Its hue angle is 253.91°, with 61.61% saturation and 43.92% 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.08:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.58.

Description generated from the measured properties of this color.

Conversions of #4b2bb5 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.0656

Readable text 9.08: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 #493f82 ≈ 0.001% of males
Protanopia #004cb9 ≈ 1.01% of males
Deuteranopia #0044b2 ≈ 1.27% of males
Tritanopia #0d526f ≈ 0.0001% of males
Protanomaly #0041b7 ≈ 1.08% of males
Deuteranomaly #003bb3 ≈ 4.63% of males
Tritanomaly #314690 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4b2bb5 {
  color: #4b2bb5;
}
Background
.bg-4b2bb5 {
  background-color: #4b2bb5;
  color: #ffffff;
}
Border
.border-4b2bb5 {
  border: 2px solid #4b2bb5;
}
CSS variables
:root {
  --color-primary: #4b2bb5;
  --color-primary-rgb: 75 43 181;
  --color-primary-hsl: 254 62% 44%;
}
Gradient
.gradient-4b2bb5 {
  background: linear-gradient(135deg, #4b2bb5, #902bb5);
}
Colored shadow
.shadow-4b2bb5 {
  box-shadow: 0 8px 24px rgb(75 43 181 / 0.35);
}

Ocean Blue
#4b2bb5  rgb(75, 43, 181)  hsl(254, 62%, 44%)  Ocean Blue
#95b52b  rgb(149, 181, 43)  hsl(74, 62%, 44%)  Apple Green
#b54b2b  rgb(181, 75, 43)  hsl(14, 62%, 44%)  Rust
#2bb54b  rgb(43, 181, 75)  hsl(134, 62%, 44%)  Medium Sea Green