#5158BB

#5158bb ≈ Iris

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

#5158bb is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 31.76% red, 34.51% green and 73.33% blue; printed in CMYK it uses 56.68% cyan, 52.94% magenta, 0% yellow and 26.67% black. Its hue angle is 236.04°, with 43.8% saturation and 52.55% 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.06:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 4.63.

Description generated from the measured properties of this color.

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

Readable text 6.06:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #5c5e8f ≈ 0.001% of males
Protanopia #1f67be ≈ 1.01% of males
Deuteranopia #035eb9 ≈ 1.27% of males
Tritanopia #146f81 ≈ 0.0001% of males
Protanomaly #3961bd ≈ 1.08% of males
Deuteranomaly #335cba ≈ 4.63% of males
Tritanomaly #36669b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5158bb {
  color: #5158bb;
}
Background
.bg-5158bb {
  background-color: #5158bb;
  color: #ffffff;
}
Border
.border-5158bb {
  border: 2px solid #5158bb;
}
CSS variables
:root {
  --color-primary: #5158bb;
  --color-primary-rgb: 81 88 187;
  --color-primary-hsl: 236 44% 53%;
}
Gradient
.gradient-5158bb {
  background: linear-gradient(135deg, #5158bb, #7f51bb);
}
Colored shadow
.shadow-5158bb {
  box-shadow: 0 8px 24px rgb(81 88 187 / 0.35);
}

Iris
#5158bb  rgb(81, 88, 187)  hsl(236, 44%, 53%)  Iris
#bbb451  rgb(187, 180, 81)  hsl(56, 44%, 53%)  Vegas Gold
#bb5158  rgb(187, 81, 88)  hsl(356, 44%, 53%)  Brick Red
#58bb51  rgb(88, 187, 81)  hsl(116, 44%, 53%)  Mantis