#05167A

#05167a ≈ Midnight Blue

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

#05167a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.96% red, 8.63% green and 47.84% blue; printed in CMYK it uses 95.9% cyan, 81.97% magenta, 0% yellow and 52.16% black. Its hue angle is 231.28°, with 92.13% saturation and 24.9% 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 14.98:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.19.

Description generated from the measured properties of this color.

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

Readable text 14.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.4:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #272727 ≈ 0.003% of males
Achromatomaly #1e2155 ≈ 0.001% of males
Protanopia #002d7d ≈ 1.01% of males
Deuteranopia #002178 ≈ 1.27% of males
Tritanopia #003548 ≈ 0.0001% of males
Protanomaly #00257c ≈ 1.08% of males
Deuteranomaly #001d79 ≈ 4.63% of males
Tritanomaly #002c60 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-05167a {
  color: #05167a;
}
Background
.bg-05167a {
  background-color: #05167a;
  color: #ffffff;
}
Border
.border-05167a {
  border: 2px solid #05167a;
}
CSS variables
:root {
  --color-primary: #05167a;
  --color-primary-rgb: 5 22 122;
  --color-primary-hsl: 231 92% 25%;
}
Gradient
.gradient-05167a {
  background: linear-gradient(135deg, #05167a, #2e057a);
}
Colored shadow
.shadow-05167a {
  box-shadow: 0 8px 24px rgb(5 22 122 / 0.35);
}

Midnight Blue
#05167a  rgb(5, 22, 122)  hsl(231, 92%, 25%)  Midnight Blue
#7a6905  rgb(122, 105, 5)  hsl(51, 92%, 25%)  Olive
#7a0516  rgb(122, 5, 22)  hsl(351, 92%, 25%)  Falu Red
#167a05  rgb(22, 122, 5)  hsl(111, 92%, 25%)  Green