#212968

#212968 ≈ Midnight Blue

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

#212968 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 40.78% blue; printed in CMYK it uses 68.27% cyan, 60.58% magenta, 0% yellow and 59.22% black. Its hue angle is 233.24°, with 51.82% saturation and 26.86% 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.28:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.66.

Description generated from the measured properties of this color.

Conversions of #212968 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.0291

Readable text 13.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #303030 ≈ 0.003% of males
Achromatomaly #2a2d4c ≈ 0.001% of males
Protanopia #00336a ≈ 1.01% of males
Deuteranopia #002d67 ≈ 1.27% of males
Tritanopia #003844 ≈ 0.0001% of males
Protanomaly #0e2f69 ≈ 1.08% of males
Deuteranomaly #062b67 ≈ 4.63% of males
Tritanomaly #063355 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-212968 {
  color: #212968;
}
Background
.bg-212968 {
  background-color: #212968;
  color: #ffffff;
}
Border
.border-212968 {
  border: 2px solid #212968;
}
CSS variables
:root {
  --color-primary: #212968;
  --color-primary-rgb: 33 41 104;
  --color-primary-hsl: 233 52% 27%;
}
Gradient
.gradient-212968 {
  background: linear-gradient(135deg, #212968, #3c2168);
}
Colored shadow
.shadow-212968 {
  box-shadow: 0 8px 24px rgb(33 41 104 / 0.35);
}

Midnight Blue
#212968  rgb(33, 41, 104)  hsl(233, 52%, 27%)  Midnight Blue
#686021  rgb(104, 96, 33)  hsl(53, 52%, 27%)  Field Drab
#682129  rgb(104, 33, 41)  hsl(353, 52%, 27%)  Wine
#296821  rgb(41, 104, 33)  hsl(113, 52%, 27%)  Pakistan Green