#0C034F

#0c034f ≈ Midnight Blue

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

#0c034f 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, 1.18% green and 30.98% blue; printed in CMYK it uses 84.81% cyan, 96.2% magenta, 0% yellow and 69.02% black. Its hue angle is 247.11°, with 92.68% saturation and 16.08% 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 18.4:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.75.

Description generated from the measured properties of this color.

Conversions of #0c034f 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.0071

Readable text 18.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.14:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #141414 ≈ 0.003% of males
Achromatomaly #110f35 ≈ 0.001% of males
Protanopia #001851 ≈ 1.01% of males
Deuteranopia #00104e ≈ 1.27% of males
Tritanopia #001d2b ≈ 0.0001% of males
Protanomaly #001150 ≈ 1.08% of males
Deuteranomaly #000c4e ≈ 4.63% of males
Tritanomaly #00153c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c034f {
  color: #0c034f;
}
Background
.bg-0c034f {
  background-color: #0c034f;
  color: #ffffff;
}
Border
.border-0c034f {
  border: 2px solid #0c034f;
}
CSS variables
:root {
  --color-primary: #0c034f;
  --color-primary-rgb: 12 3 79;
  --color-primary-hsl: 247 93% 16%;
}
Gradient
.gradient-0c034f {
  background: linear-gradient(135deg, #0c034f, #32034f);
}
Colored shadow
.shadow-0c034f {
  box-shadow: 0 8px 24px rgb(12 3 79 / 0.35);
}

Midnight Blue
#0c034f  rgb(12, 3, 79)  hsl(247, 93%, 16%)  Midnight Blue
#464f03  rgb(70, 79, 3)  hsl(67, 93%, 16%)  Army Green
#4f0c03  rgb(79, 12, 3)  hsl(7, 93%, 16%)  Rosewood
#034f0c  rgb(3, 79, 12)  hsl(127, 93%, 16%)  Lincoln Green