#151F9E

#151f9e ≈ Imperial Blue

  • blue
  • Lightness: low
  • Saturation: strong
  • Cool

#151f9e is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 8.24% red, 12.16% green and 61.96% blue; printed in CMYK it uses 86.71% cyan, 80.38% magenta, 0% yellow and 38.04% black. Its hue angle is 235.62°, with 76.54% saturation and 35.1% 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 12.2:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 2.16.

Description generated from the measured properties of this color.

Conversions of #151f9e 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.0361

Readable text 12.2:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #353535 ≈ 0.003% of males
Achromatomaly #2b2e6f ≈ 0.001% of males
Protanopia #003ca2 ≈ 1.01% of males
Deuteranopia #002e9c ≈ 1.27% of males
Tritanopia #00475f ≈ 0.0001% of males
Protanomaly #0033a0 ≈ 1.08% of males
Deuteranomaly #00299d ≈ 4.63% of males
Tritanomaly #003b7d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-151f9e {
  color: #151f9e;
}
Background
.bg-151f9e {
  background-color: #151f9e;
  color: #ffffff;
}
Border
.border-151f9e {
  border: 2px solid #151f9e;
}
CSS variables
:root {
  --color-primary: #151f9e;
  --color-primary-rgb: 21 31 158;
  --color-primary-hsl: 236 77% 35%;
}
Gradient
.gradient-151f9e {
  background: linear-gradient(135deg, #151f9e, #50159e);
}
Colored shadow
.shadow-151f9e {
  box-shadow: 0 8px 24px rgb(21 31 158 / 0.35);
}

Imperial Blue
#151f9e  rgb(21, 31, 158)  hsl(236, 77%, 35%)  Imperial Blue
#9e9415  rgb(158, 148, 21)  hsl(56, 77%, 35%)  Brass
#9e151f  rgb(158, 21, 31)  hsl(356, 77%, 35%)  Carmine
#1f9e15  rgb(31, 158, 21)  hsl(116, 77%, 35%)  Islamic Green