#0C104F

#0c104f ≈ Midnight Blue

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

#0c104f is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 4.71% red, 6.27% green and 30.98% blue; printed in CMYK it uses 84.81% cyan, 79.75% magenta, 0% yellow and 69.02% black. Its hue angle is 236.42°, with 73.63% saturation and 17.84% 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 17.46:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.8.

Description generated from the measured properties of this color.

Conversions of #0c104f 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.0101

Readable text 17.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1a1a1a ≈ 0.003% of males
Achromatomaly #151636 ≈ 0.001% of males
Protanopia #001d51 ≈ 1.01% of males
Deuteranopia #00164e ≈ 1.27% of males
Tritanopia #00222e ≈ 0.0001% of males
Protanomaly #001850 ≈ 1.08% of males
Deuteranomaly #00144e ≈ 4.63% of males
Tritanomaly #001c3e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c104f {
  color: #0c104f;
}
Background
.bg-0c104f {
  background-color: #0c104f;
  color: #ffffff;
}
Border
.border-0c104f {
  border: 2px solid #0c104f;
}
CSS variables
:root {
  --color-primary: #0c104f;
  --color-primary-rgb: 12 16 79;
  --color-primary-hsl: 236 74% 18%;
}
Gradient
.gradient-0c104f {
  background: linear-gradient(135deg, #0c104f, #290c4f);
}
Colored shadow
.shadow-0c104f {
  box-shadow: 0 8px 24px rgb(12 16 79 / 0.35);
}

Midnight Blue
#0c104f  rgb(12, 16, 79)  hsl(236, 74%, 18%)  Midnight Blue
#4f4b0c  rgb(79, 75, 12)  hsl(56, 74%, 18%)  Army Green
#4f0c10  rgb(79, 12, 16)  hsl(356, 74%, 18%)  Rosewood
#104f0c  rgb(16, 79, 12)  hsl(116, 74%, 18%)  Lincoln Green