#1C1F70

#1c1f70 ≈ Midnight Blue

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

#1c1f70 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 10.98% red, 12.16% green and 43.92% blue; printed in CMYK it uses 75% cyan, 72.32% magenta, 0% yellow and 56.08% black. Its hue angle is 237.86°, with 60% saturation and 27.45% 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 14.2:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.7.

Description generated from the measured properties of this color.

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

Readable text 14.2:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2b2b2b ≈ 0.003% of males
Achromatomaly #26274f ≈ 0.001% of males
Protanopia #002f72 ≈ 1.01% of males
Deuteranopia #00276e ≈ 1.27% of males
Tritanopia #003545 ≈ 0.0001% of males
Protanomaly #002971 ≈ 1.08% of males
Deuteranomaly #00246f ≈ 4.63% of males
Tritanomaly #002e59 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1c1f70 {
  color: #1c1f70;
}
Background
.bg-1c1f70 {
  background-color: #1c1f70;
  color: #ffffff;
}
Border
.border-1c1f70 {
  border: 2px solid #1c1f70;
}
CSS variables
:root {
  --color-primary: #1c1f70;
  --color-primary-rgb: 28 31 112;
  --color-primary-hsl: 238 60% 27%;
}
Gradient
.gradient-1c1f70 {
  background: linear-gradient(135deg, #1c1f70, #431c70);
}
Colored shadow
.shadow-1c1f70 {
  box-shadow: 0 8px 24px rgb(28 31 112 / 0.35);
}

Midnight Blue
#1c1f70  rgb(28, 31, 112)  hsl(238, 60%, 27%)  Midnight Blue
#706d1c  rgb(112, 109, 28)  hsl(58, 60%, 27%)  Olive
#701c1f  rgb(112, 28, 31)  hsl(358, 60%, 27%)  Burgundy
#1f701c  rgb(31, 112, 28)  hsl(118, 60%, 27%)  Pakistan Green