#5B48AD

#5b48ad ≈ Ocean Blue

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

#5b48ad is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 35.69% red, 28.24% green and 67.84% blue; printed in CMYK it uses 47.4% cyan, 58.38% magenta, 0% yellow and 32.16% black. Its hue angle is 251.29°, with 41.22% saturation and 48.04% 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 7.06:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 2.91.

Description generated from the measured properties of this color.

Conversions of #5b48ad 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.0988

Readable text 7.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.98:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #5a5283 ≈ 0.001% of males
Protanopia #005bb0 ≈ 1.01% of males
Deuteranopia #0056ab ≈ 1.27% of males
Tritanopia #405f73 ≈ 0.0001% of males
Protanomaly #3954af ≈ 1.08% of males
Deuteranomaly #3951ac ≈ 4.63% of males
Tritanomaly #4c578e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b48ad {
  color: #5b48ad;
}
Background
.bg-5b48ad {
  background-color: #5b48ad;
  color: #ffffff;
}
Border
.border-5b48ad {
  border: 2px solid #5b48ad;
}
CSS variables
:root {
  --color-primary: #5b48ad;
  --color-primary-rgb: 91 72 173;
  --color-primary-hsl: 251 41% 48%;
}
Gradient
.gradient-5b48ad {
  background: linear-gradient(135deg, #5b48ad, #8e48ad);
}
Colored shadow
.shadow-5b48ad {
  box-shadow: 0 8px 24px rgb(91 72 173 / 0.35);
}

Ocean Blue
#5b48ad  rgb(91, 72, 173)  hsl(251, 41%, 48%)  Ocean Blue
#9aad48  rgb(154, 173, 72)  hsl(71, 41%, 48%)  Apple Green
#ad5b48  rgb(173, 91, 72)  hsl(11, 41%, 48%)  Redwood
#48ad5b  rgb(72, 173, 91)  hsl(131, 41%, 48%)  Medium Sea Green