#06166F

#06166f ≈ Midnight Blue

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

#06166f 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 43.53% blue; printed in CMYK it uses 94.59% cyan, 80.18% magenta, 0% yellow and 56.47% black. Its hue angle is 230.86°, with 89.74% saturation and 22.94% 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.53:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.48.

Description generated from the measured properties of this color.

Conversions of #06166f 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.0176

Readable text 15.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #242424 ≈ 0.003% of males
Achromatomaly #1c1f4d ≈ 0.001% of males
Protanopia #002972 ≈ 1.01% of males
Deuteranopia #001f6d ≈ 1.27% of males
Tritanopia #003142 ≈ 0.0001% of males
Protanomaly #002371 ≈ 1.08% of males
Deuteranomaly #001b6e ≈ 4.63% of males
Tritanomaly #002857 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#06166f  rgb(6, 22, 111)  hsl(231, 90%, 23%)  Midnight Blue
#6f5f06  rgb(111, 95, 6)  hsl(51, 90%, 23%)  Field Drab
#6f0616  rgb(111, 6, 22)  hsl(351, 90%, 23%)  Rosewood
#166f06  rgb(22, 111, 6)  hsl(111, 90%, 23%)  Pakistan Green