#5B4BB2

#5b4bb2 ≈ Ocean Blue

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#5b4bb2 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 35.69% red, 29.41% green and 69.8% blue; printed in CMYK it uses 48.88% cyan, 57.87% magenta, 0% yellow and 30.2% black. Its hue angle is 249.32°, with 40.71% saturation and 49.61% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 6.79:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.12.

Description generated from the measured properties of this color.

Conversions of #5b4bb2 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.1047

Readable text 6.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.09:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #5b5587 ≈ 0.001% of males
Protanopia #005eb5 ≈ 1.01% of males
Deuteranopia #0058b0 ≈ 1.27% of males
Tritanopia #3d6277 ≈ 0.0001% of males
Protanomaly #3957b4 ≈ 1.08% of males
Deuteranomaly #3953b1 ≈ 4.63% of males
Tritanomaly #4b5a92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ocean Blue
#5b4bb2  rgb(91, 75, 178)  hsl(249, 41%, 50%)  Ocean Blue
#a2b24b  rgb(162, 178, 75)  hsl(69, 41%, 50%)  Apple Green
#b25b4b  rgb(178, 91, 75)  hsl(9, 41%, 50%)  Redwood
#4bb25b  rgb(75, 178, 91)  hsl(129, 41%, 50%)  Medium Sea Green