#0C2373

#0c2373 ≈ Midnight Blue

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

#0c2373 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 4.71% red, 13.73% green and 45.1% blue; printed in CMYK it uses 89.57% cyan, 69.57% magenta, 0% yellow and 54.9% black. Its hue angle is 226.6°, with 81.1% saturation and 24.9% 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 13.97:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.6.

Description generated from the measured properties of this color.

Conversions of #0c2373 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#003366
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0252

Readable text 13.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2c2c2c ≈ 0.003% of males
Achromatomaly #232952 ≈ 0.001% of males
Protanopia #003176 ≈ 1.01% of males
Deuteranopia #002772 ≈ 1.27% of males
Tritanopia #003947 ≈ 0.0001% of males
Protanomaly #002c75 ≈ 1.08% of males
Deuteranomaly #002672 ≈ 4.63% of males
Tritanomaly #00315c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c2373 {
  color: #0c2373;
}
Background
.bg-0c2373 {
  background-color: #0c2373;
  color: #ffffff;
}
Border
.border-0c2373 {
  border: 2px solid #0c2373;
}
CSS variables
:root {
  --color-primary: #0c2373;
  --color-primary-rgb: 12 35 115;
  --color-primary-hsl: 227 81% 25%;
}
Gradient
.gradient-0c2373 {
  background: linear-gradient(135deg, #0c2373, #280c73);
}
Colored shadow
.shadow-0c2373 {
  box-shadow: 0 8px 24px rgb(12 35 115 / 0.35);
}

Midnight Blue
#0c2373  rgb(12, 35, 115)  hsl(227, 81%, 25%)  Midnight Blue
#735c0c  rgb(115, 92, 12)  hsl(47, 81%, 25%)  Field Drab
#730c23  rgb(115, 12, 35)  hsl(347, 81%, 25%)  Burgundy
#23730c  rgb(35, 115, 12)  hsl(107, 81%, 25%)  Green