#0B167A

#0b167a ≈ Midnight Blue

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

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

Description generated from the measured properties of this color.

Conversions of #0b167a 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.0205

Readable text 14.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.41:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #272727 ≈ 0.003% of males
Achromatomaly #1f2155 ≈ 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-0b167a {
  color: #0b167a;
}
Background
.bg-0b167a {
  background-color: #0b167a;
  color: #ffffff;
}
Border
.border-0b167a {
  border: 2px solid #0b167a;
}
CSS variables
:root {
  --color-primary: #0b167a;
  --color-primary-rgb: 11 22 122;
  --color-primary-hsl: 234 83% 26%;
}
Gradient
.gradient-0b167a {
  background: linear-gradient(135deg, #0b167a, #370b7a);
}
Colored shadow
.shadow-0b167a {
  box-shadow: 0 8px 24px rgb(11 22 122 / 0.35);
}

Midnight Blue
#0b167a  rgb(11, 22, 122)  hsl(234, 83%, 26%)  Midnight Blue
#7a6f0b  rgb(122, 111, 11)  hsl(54, 83%, 26%)  Olive
#7a0b16  rgb(122, 11, 22)  hsl(354, 83%, 26%)  Falu Red
#167a0b  rgb(22, 122, 11)  hsl(114, 83%, 26%)  Green