#5731BB

#5731bb ≈ Ocean Blue

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

#5731bb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 34.12% red, 19.22% green and 73.33% blue; printed in CMYK it uses 53.48% cyan, 73.8% magenta, 0% yellow and 26.67% black. Its hue angle is 256.52°, with 58.47% saturation and 46.27% 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.2:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.54.

Description generated from the measured properties of this color.

Conversions of #5731bb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0781

Readable text 8.2:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #524588 ≈ 0.001% of males
Protanopia #0052bf ≈ 1.01% of males
Deuteranopia #004bb8 ≈ 1.27% of males
Tritanopia #2f5773 ≈ 0.0001% of males
Protanomaly #1047bd ≈ 1.08% of males
Deuteranomaly #1442b9 ≈ 4.63% of males
Tritanomaly #424a95 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5731bb {
  color: #5731bb;
}
Background
.bg-5731bb {
  background-color: #5731bb;
  color: #ffffff;
}
Border
.border-5731bb {
  border: 2px solid #5731bb;
}
CSS variables
:root {
  --color-primary: #5731bb;
  --color-primary-rgb: 87 49 187;
  --color-primary-hsl: 257 58% 46%;
}
Gradient
.gradient-5731bb {
  background: linear-gradient(135deg, #5731bb, #9c31bb);
}
Colored shadow
.shadow-5731bb {
  box-shadow: 0 8px 24px rgb(87 49 187 / 0.35);
}

Ocean Blue
#5731bb  rgb(87, 49, 187)  hsl(257, 58%, 46%)  Ocean Blue
#95bb31  rgb(149, 187, 49)  hsl(77, 58%, 46%)  Apple Green
#bb5731  rgb(187, 87, 49)  hsl(17, 58%, 46%)  Sinopia
#31bb57  rgb(49, 187, 87)  hsl(137, 58%, 46%)  Emerald