#06166B

#06166b ≈ Midnight Blue

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

#06166b is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 2.35% red, 8.63% green and 41.96% blue; printed in CMYK it uses 94.39% cyan, 79.44% magenta, 0% yellow and 58.04% black. Its hue angle is 230.5°, with 89.38% saturation and 22.16% 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 15.73:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.7.

Description generated from the measured properties of this color.

Conversions of #06166b 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.0167

Readable text 15.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #232323 ≈ 0.003% of males
Achromatomaly #1b1e4a ≈ 0.001% of males
Protanopia #00286d ≈ 1.01% of males
Deuteranopia #001e6a ≈ 1.27% of males
Tritanopia #00303f ≈ 0.0001% of males
Protanomaly #00226c ≈ 1.08% of males
Deuteranomaly #001b6a ≈ 4.63% of males
Tritanomaly #002754 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-06166b {
  color: #06166b;
}
Background
.bg-06166b {
  background-color: #06166b;
  color: #ffffff;
}
Border
.border-06166b {
  border: 2px solid #06166b;
}
CSS variables
:root {
  --color-primary: #06166b;
  --color-primary-rgb: 6 22 107;
  --color-primary-hsl: 231 89% 22%;
}
Gradient
.gradient-06166b {
  background: linear-gradient(135deg, #06166b, #29066b);
}
Colored shadow
.shadow-06166b {
  box-shadow: 0 8px 24px rgb(6 22 107 / 0.35);
}

Midnight Blue
#06166b  rgb(6, 22, 107)  hsl(231, 89%, 22%)  Midnight Blue
#6b5b06  rgb(107, 91, 6)  hsl(51, 89%, 22%)  Field Drab
#6b0616  rgb(107, 6, 22)  hsl(351, 89%, 22%)  Rosewood
#166b06  rgb(22, 107, 6)  hsl(111, 89%, 22%)  Pakistan Green