#031D98

#031d98 ≈ Imperial Blue

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

#031d98 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.18% red, 11.37% green and 59.61% blue; printed in CMYK it uses 98.03% cyan, 80.92% magenta, 0% yellow and 40.39% black. Its hue angle is 229.53°, with 96.13% saturation and 30.39% 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 12.86:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 1.65.

Description generated from the measured properties of this color.

Conversions of #031d98 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.0317

Readable text 12.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #323232 ≈ 0.003% of males
Achromatomaly #262b6a ≈ 0.001% of males
Protanopia #00399b ≈ 1.01% of males
Deuteranopia #002a96 ≈ 1.27% of males
Tritanopia #00445b ≈ 0.0001% of males
Protanomaly #00309a ≈ 1.08% of males
Deuteranomaly #002697 ≈ 4.63% of males
Tritanomaly #003878 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-031d98 {
  color: #031d98;
}
Background
.bg-031d98 {
  background-color: #031d98;
  color: #ffffff;
}
Border
.border-031d98 {
  border: 2px solid #031d98;
}
CSS variables
:root {
  --color-primary: #031d98;
  --color-primary-rgb: 3 29 152;
  --color-primary-hsl: 230 96% 30%;
}
Gradient
.gradient-031d98 {
  background: linear-gradient(135deg, #031d98, #330398);
}
Colored shadow
.shadow-031d98 {
  box-shadow: 0 8px 24px rgb(3 29 152 / 0.35);
}

Imperial Blue
#031d98  rgb(3, 29, 152)  hsl(230, 96%, 30%)  Imperial Blue
#987e03  rgb(152, 126, 3)  hsl(50, 96%, 30%)  Olive
#98031d  rgb(152, 3, 29)  hsl(350, 96%, 30%)  Carmine
#1d9803  rgb(29, 152, 3)  hsl(110, 96%, 30%)  Islamic Green