#5F4BB2

#5f4bb2 ≈ Ocean Blue

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#5f4bb2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 37.25% red, 29.41% green and 69.8% blue; printed in CMYK it uses 46.63% cyan, 57.87% magenta, 0% yellow and 30.2% black. Its hue angle is 251.65°, with 40.71% saturation and 49.61% 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 6.7:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.59.

Description generated from the measured properties of this color.

Conversions of #5f4bb2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#663399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1068

Readable text 6.7:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #5d5687 ≈ 0.001% of males
Protanopia #015eb5 ≈ 1.01% of males
Deuteranopia #0459b0 ≈ 1.27% of males
Tritanopia #456277 ≈ 0.0001% of males
Protanomaly #3d57b4 ≈ 1.08% of males
Deuteranomaly #3d54b1 ≈ 4.63% of males
Tritanomaly #505a92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f4bb2 {
  color: #5f4bb2;
}
Background
.bg-5f4bb2 {
  background-color: #5f4bb2;
  color: #ffffff;
}
Border
.border-5f4bb2 {
  border: 2px solid #5f4bb2;
}
CSS variables
:root {
  --color-primary: #5f4bb2;
  --color-primary-rgb: 95 75 178;
  --color-primary-hsl: 252 41% 50%;
}
Gradient
.gradient-5f4bb2 {
  background: linear-gradient(135deg, #5f4bb2, #934bb2);
}
Colored shadow
.shadow-5f4bb2 {
  box-shadow: 0 8px 24px rgb(95 75 178 / 0.35);
}

Ocean Blue
#5f4bb2  rgb(95, 75, 178)  hsl(252, 41%, 50%)  Ocean Blue
#9eb24b  rgb(158, 178, 75)  hsl(72, 41%, 50%)  Apple Green
#b25f4b  rgb(178, 95, 75)  hsl(12, 41%, 50%)  Redwood
#4bb25f  rgb(75, 178, 95)  hsl(132, 41%, 50%)  Medium Sea Green