#0C1957

#0c1957 ≈ Midnight Blue

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

#0c1957 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, 9.8% green and 34.12% blue; printed in CMYK it uses 86.21% cyan, 71.26% magenta, 0% yellow and 65.88% black. Its hue angle is 229.6°, with 75.76% saturation and 19.41% 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 16.25:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.96.

Description generated from the measured properties of this color.

Conversions of #0c1957 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.0146

Readable text 16.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.29:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #202020 ≈ 0.003% of males
Achromatomaly #1a1e3d ≈ 0.001% of males
Protanopia #002459 ≈ 1.01% of males
Deuteranopia #001d56 ≈ 1.27% of males
Tritanopia #002a35 ≈ 0.0001% of males
Protanomaly #002058 ≈ 1.08% of males
Deuteranomaly #001b56 ≈ 4.63% of males
Tritanomaly #002445 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c1957 {
  color: #0c1957;
}
Background
.bg-0c1957 {
  background-color: #0c1957;
  color: #ffffff;
}
Border
.border-0c1957 {
  border: 2px solid #0c1957;
}
CSS variables
:root {
  --color-primary: #0c1957;
  --color-primary-rgb: 12 25 87;
  --color-primary-hsl: 230 76% 19%;
}
Gradient
.gradient-0c1957 {
  background: linear-gradient(135deg, #0c1957, #240c57);
}
Colored shadow
.shadow-0c1957 {
  box-shadow: 0 8px 24px rgb(12 25 87 / 0.35);
}

Midnight Blue
#0c1957  rgb(12, 25, 87)  hsl(230, 76%, 19%)  Midnight Blue
#574a0c  rgb(87, 74, 12)  hsl(50, 76%, 19%)  Field Drab
#570c19  rgb(87, 12, 25)  hsl(350, 76%, 19%)  Rosewood
#19570c  rgb(25, 87, 12)  hsl(110, 76%, 19%)  Lincoln Green