#0C1375

#0c1375 ≈ Midnight Blue

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

#0c1375 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 4.71% red, 7.45% green and 45.88% blue; printed in CMYK it uses 89.74% cyan, 83.76% magenta, 0% yellow and 54.12% black. Its hue angle is 236°, with 81.4% saturation and 25.29% 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.38:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.94.

Description generated from the measured properties of this color.

Conversions of #0c1375 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.38: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 #1d1f51 ≈ 0.001% of males
Protanopia #002a78 ≈ 1.01% of males
Deuteranopia #001f73 ≈ 1.27% of males
Tritanopia #003244 ≈ 0.0001% of males
Protanomaly #002377 ≈ 1.08% of males
Deuteranomaly #001b74 ≈ 4.63% of males
Tritanomaly #00295c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c1375 {
  color: #0c1375;
}
Background
.bg-0c1375 {
  background-color: #0c1375;
  color: #ffffff;
}
Border
.border-0c1375 {
  border: 2px solid #0c1375;
}
CSS variables
:root {
  --color-primary: #0c1375;
  --color-primary-rgb: 12 19 117;
  --color-primary-hsl: 236 81% 25%;
}
Gradient
.gradient-0c1375 {
  background: linear-gradient(135deg, #0c1375, #390c75);
}
Colored shadow
.shadow-0c1375 {
  box-shadow: 0 8px 24px rgb(12 19 117 / 0.35);
}

Midnight Blue
#0c1375  rgb(12, 19, 117)  hsl(236, 81%, 25%)  Midnight Blue
#756e0c  rgb(117, 110, 12)  hsl(56, 81%, 25%)  Olive
#750c13  rgb(117, 12, 19)  hsl(356, 81%, 25%)  Falu Red
#13750c  rgb(19, 117, 12)  hsl(116, 81%, 25%)  Green