#0D1E8A

#0d1e8a ≈ Imperial Blue

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

#0d1e8a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 5.1% red, 11.76% green and 54.12% blue; printed in CMYK it uses 90.58% cyan, 78.26% magenta, 0% yellow and 45.88% black. Its hue angle is 231.84°, with 82.78% saturation and 29.61% 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 luxury branding. White text on this color reaches a contrast ratio of 13.38:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 1.96.

Description generated from the measured properties of this color.

Conversions of #0d1e8a 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.0285

Readable text 13.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2f2f2f ≈ 0.003% of males
Achromatomaly #252961 ≈ 0.001% of males
Protanopia #00358d ≈ 1.01% of males
Deuteranopia #002988 ≈ 1.27% of males
Tritanopia #003f53 ≈ 0.0001% of males
Protanomaly #002d8c ≈ 1.08% of males
Deuteranomaly #002589 ≈ 4.63% of males
Tritanomaly #00346d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0d1e8a {
  color: #0d1e8a;
}
Background
.bg-0d1e8a {
  background-color: #0d1e8a;
  color: #ffffff;
}
Border
.border-0d1e8a {
  border: 2px solid #0d1e8a;
}
CSS variables
:root {
  --color-primary: #0d1e8a;
  --color-primary-rgb: 13 30 138;
  --color-primary-hsl: 232 83% 30%;
}
Gradient
.gradient-0d1e8a {
  background: linear-gradient(135deg, #0d1e8a, #3b0d8a);
}
Colored shadow
.shadow-0d1e8a {
  box-shadow: 0 8px 24px rgb(13 30 138 / 0.35);
}

Imperial Blue
#0d1e8a  rgb(13, 30, 138)  hsl(232, 83%, 30%)  Imperial Blue
#8a790d  rgb(138, 121, 13)  hsl(52, 83%, 30%)  Olive
#8a0d1e  rgb(138, 13, 30)  hsl(352, 83%, 30%)  Carmine
#1e8a0d  rgb(30, 138, 13)  hsl(112, 83%, 30%)  India Green