#1F2C8B

#1f2c8b ≈ Imperial Blue

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

#1f2c8b is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 12.16% red, 17.25% green and 54.51% blue; printed in CMYK it uses 77.7% cyan, 68.35% magenta, 0% yellow and 45.49% black. Its hue angle is 232.78°, with 63.53% saturation and 33.33% 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 11.72:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 3.15.

Description generated from the measured properties of this color.

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

Readable text 11.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #383838 ≈ 0.003% of males
Achromatomaly #303464 ≈ 0.001% of males
Protanopia #003d8e ≈ 1.01% of males
Deuteranopia #003389 ≈ 1.27% of males
Tritanopia #004657 ≈ 0.0001% of males
Protanomaly #00378d ≈ 1.08% of males
Deuteranomaly #00308a ≈ 4.63% of males
Tritanomaly #003d70 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1f2c8b {
  color: #1f2c8b;
}
Background
.bg-1f2c8b {
  background-color: #1f2c8b;
  color: #ffffff;
}
Border
.border-1f2c8b {
  border: 2px solid #1f2c8b;
}
CSS variables
:root {
  --color-primary: #1f2c8b;
  --color-primary-rgb: 31 44 139;
  --color-primary-hsl: 233 64% 33%;
}
Gradient
.gradient-1f2c8b {
  background: linear-gradient(135deg, #1f2c8b, #481f8b);
}
Colored shadow
.shadow-1f2c8b {
  box-shadow: 0 8px 24px rgb(31 44 139 / 0.35);
}

Imperial Blue
#1f2c8b  rgb(31, 44, 139)  hsl(233, 64%, 33%)  Imperial Blue
#8b7e1f  rgb(139, 126, 31)  hsl(53, 64%, 33%)  Olive
#8b1f2c  rgb(139, 31, 44)  hsl(353, 64%, 33%)  Burgundy
#2c8b1f  rgb(44, 139, 31)  hsl(113, 64%, 33%)  Forest Green