#212970

#212970 ≈ Midnight Blue

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

#212970 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 12.94% red, 16.08% green and 43.92% blue; printed in CMYK it uses 70.54% cyan, 63.39% magenta, 0% yellow and 56.08% black. Its hue angle is 233.92°, with 54.48% saturation and 28.43% 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:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.84.

Description generated from the measured properties of this color.

Conversions of #212970 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.0308

Readable text 13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #313131 ≈ 0.003% of males
Achromatomaly #2b2e51 ≈ 0.001% of males
Protanopia #003572 ≈ 1.01% of males
Deuteranopia #002e6f ≈ 1.27% of males
Tritanopia #003b48 ≈ 0.0001% of males
Protanomaly #053071 ≈ 1.08% of males
Deuteranomaly #002c6f ≈ 4.63% of males
Tritanomaly #00345b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-212970 {
  color: #212970;
}
Background
.bg-212970 {
  background-color: #212970;
  color: #ffffff;
}
Border
.border-212970 {
  border: 2px solid #212970;
}
CSS variables
:root {
  --color-primary: #212970;
  --color-primary-rgb: 33 41 112;
  --color-primary-hsl: 234 54% 28%;
}
Gradient
.gradient-212970 {
  background: linear-gradient(135deg, #212970, #402170);
}
Colored shadow
.shadow-212970 {
  box-shadow: 0 8px 24px rgb(33 41 112 / 0.35);
}

Midnight Blue
#212970  rgb(33, 41, 112)  hsl(234, 54%, 28%)  Midnight Blue
#706821  rgb(112, 104, 33)  hsl(54, 54%, 28%)  Field Drab
#702129  rgb(112, 33, 41)  hsl(354, 54%, 28%)  Wine
#297021  rgb(41, 112, 33)  hsl(114, 54%, 28%)  Pakistan Green