#08196C

#08196c ≈ Midnight Blue

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

#08196c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 3.14% red, 9.8% green and 42.35% blue; printed in CMYK it uses 92.59% cyan, 76.85% magenta, 0% yellow and 57.65% black. Its hue angle is 229.8°, with 86.21% saturation and 22.75% 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.37:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.66.

Description generated from the measured properties of this color.

Conversions of #08196c 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.0183

Readable text 15.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.37:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #252525 ≈ 0.003% of males
Achromatomaly #1d214b ≈ 0.001% of males
Protanopia #002a6e ≈ 1.01% of males
Deuteranopia #00206b ≈ 1.27% of males
Tritanopia #003141 ≈ 0.0001% of males
Protanomaly #00246d ≈ 1.08% of males
Deuteranomaly #001d6b ≈ 4.63% of males
Tritanomaly #002955 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-08196c {
  color: #08196c;
}
Background
.bg-08196c {
  background-color: #08196c;
  color: #ffffff;
}
Border
.border-08196c {
  border: 2px solid #08196c;
}
CSS variables
:root {
  --color-primary: #08196c;
  --color-primary-rgb: 8 25 108;
  --color-primary-hsl: 230 86% 23%;
}
Gradient
.gradient-08196c {
  background: linear-gradient(135deg, #08196c, #29086c);
}
Colored shadow
.shadow-08196c {
  box-shadow: 0 8px 24px rgb(8 25 108 / 0.35);
}

Midnight Blue
#08196c  rgb(8, 25, 108)  hsl(230, 86%, 23%)  Midnight Blue
#6c5b08  rgb(108, 91, 8)  hsl(50, 86%, 23%)  Field Drab
#6c0819  rgb(108, 8, 25)  hsl(350, 86%, 23%)  Rosewood
#196c08  rgb(25, 108, 8)  hsl(110, 86%, 23%)  Pakistan Green