#0C106E

#0c106e ≈ Midnight Blue

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

#0c106e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 4.71% red, 6.27% green and 43.14% blue; printed in CMYK it uses 89.09% cyan, 85.45% magenta, 0% yellow and 56.86% black. Its hue angle is 237.55°, with 80.33% saturation and 23.92% 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.97:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.23.

Description generated from the measured properties of this color.

Conversions of #0c106e 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.0157

Readable text 15.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #222222 ≈ 0.003% of males
Achromatomaly #1b1c4c ≈ 0.001% of males
Protanopia #002771 ≈ 1.01% of males
Deuteranopia #001c6c ≈ 1.27% of males
Tritanopia #002e40 ≈ 0.0001% of males
Protanomaly #001f70 ≈ 1.08% of males
Deuteranomaly #00186d ≈ 4.63% of males
Tritanomaly #002556 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c106e {
  color: #0c106e;
}
Background
.bg-0c106e {
  background-color: #0c106e;
  color: #ffffff;
}
Border
.border-0c106e {
  border: 2px solid #0c106e;
}
CSS variables
:root {
  --color-primary: #0c106e;
  --color-primary-rgb: 12 16 110;
  --color-primary-hsl: 238 80% 24%;
}
Gradient
.gradient-0c106e {
  background: linear-gradient(135deg, #0c106e, #390c6e);
}
Colored shadow
.shadow-0c106e {
  box-shadow: 0 8px 24px rgb(12 16 110 / 0.35);
}

Midnight Blue
#0c106e  rgb(12, 16, 110)  hsl(238, 80%, 24%)  Midnight Blue
#6e6a0c  rgb(110, 106, 12)  hsl(58, 80%, 24%)  Olive
#6e0c10  rgb(110, 12, 16)  hsl(358, 80%, 24%)  Rosewood
#106e0c  rgb(16, 110, 12)  hsl(118, 80%, 24%)  Pakistan Green