#151F8D

#151f8d ≈ Imperial Blue

  • blue
  • Lightness: low
  • Saturation: moderate
  • Cool

#151f8d is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 8.24% red, 12.16% green and 55.29% blue; printed in CMYK it uses 85.11% cyan, 78.01% magenta, 0% yellow and 44.71% black. Its hue angle is 235°, with 74.07% saturation and 31.76% 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 corporate identities. White text on this color reaches a contrast ratio of 13.02:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 1.73.

Description generated from the measured properties of this color.

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

Readable text 13.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #313131 ≈ 0.003% of males
Achromatomaly #282b63 ≈ 0.001% of males
Protanopia #003790 ≈ 1.01% of males
Deuteranopia #002b8b ≈ 1.27% of males
Tritanopia #004055 ≈ 0.0001% of males
Protanomaly #002f8f ≈ 1.08% of males
Deuteranomaly #00278c ≈ 4.63% of males
Tritanomaly #003670 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-151f8d {
  color: #151f8d;
}
Background
.bg-151f8d {
  background-color: #151f8d;
  color: #ffffff;
}
Border
.border-151f8d {
  border: 2px solid #151f8d;
}
CSS variables
:root {
  --color-primary: #151f8d;
  --color-primary-rgb: 21 31 141;
  --color-primary-hsl: 235 74% 32%;
}
Gradient
.gradient-151f8d {
  background: linear-gradient(135deg, #151f8d, #47158d);
}
Colored shadow
.shadow-151f8d {
  box-shadow: 0 8px 24px rgb(21 31 141 / 0.35);
}

Imperial Blue
#151f8d  rgb(21, 31, 141)  hsl(235, 74%, 32%)  Imperial Blue
#8d8315  rgb(141, 131, 21)  hsl(55, 74%, 32%)  Olive
#8d151f  rgb(141, 21, 31)  hsl(355, 74%, 32%)  Carmine
#1f8d15  rgb(31, 141, 21)  hsl(115, 74%, 32%)  Forest Green