#181F8A

#181f8a ≈ Imperial Blue

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

#181f8a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 9.41% red, 12.16% green and 54.12% blue; printed in CMYK it uses 82.61% cyan, 77.54% magenta, 0% yellow and 45.88% black. Its hue angle is 236.32°, with 70.37% 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.11:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 2.09.

Description generated from the measured properties of this color.

Conversions of #181f8a 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.0301

Readable text 13.11:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #303030 ≈ 0.003% of males
Achromatomaly #292a61 ≈ 0.001% of males
Protanopia #00368d ≈ 1.01% of males
Deuteranopia #002b88 ≈ 1.27% of males
Tritanopia #003f53 ≈ 0.0001% of males
Protanomaly #002e8c ≈ 1.08% of males
Deuteranomaly #002689 ≈ 4.63% of males
Tritanomaly #00356d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-181f8a {
  color: #181f8a;
}
Background
.bg-181f8a {
  background-color: #181f8a;
  color: #ffffff;
}
Border
.border-181f8a {
  border: 2px solid #181f8a;
}
CSS variables
:root {
  --color-primary: #181f8a;
  --color-primary-rgb: 24 31 138;
  --color-primary-hsl: 236 70% 32%;
}
Gradient
.gradient-181f8a {
  background: linear-gradient(135deg, #181f8a, #4a188a);
}
Colored shadow
.shadow-181f8a {
  box-shadow: 0 8px 24px rgb(24 31 138 / 0.35);
}

Imperial Blue
#181f8a  rgb(24, 31, 138)  hsl(236, 70%, 32%)  Imperial Blue
#8a8318  rgb(138, 131, 24)  hsl(56, 70%, 32%)  Olive
#8a181f  rgb(138, 24, 31)  hsl(356, 70%, 32%)  Falu Red
#1f8a18  rgb(31, 138, 24)  hsl(116, 70%, 32%)  Forest Green