#34277D

#34277d ≈ Midnight Blue

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

#34277d is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 20.39% red, 15.29% green and 49.02% blue; printed in CMYK it uses 58.4% cyan, 68.8% magenta, 0% yellow and 50.98% black. Its hue angle is 249.07°, with 52.44% saturation and 32.16% 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 corporate identities. White text on this color reaches a contrast ratio of 12.12:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.72.

Description generated from the measured properties of this color.

Conversions of #34277d 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.0366

Readable text 12.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #363636 ≈ 0.003% of males
Achromatomaly #35305b ≈ 0.001% of males
Protanopia #003980 ≈ 1.01% of males
Deuteranopia #00337b ≈ 1.27% of males
Tritanopia #0f3d4e ≈ 0.0001% of males
Protanomaly #0e327f ≈ 1.08% of males
Deuteranomaly #0c2f7c ≈ 4.63% of males
Tritanomaly #233564 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-34277d {
  color: #34277d;
}
Background
.bg-34277d {
  background-color: #34277d;
  color: #ffffff;
}
Border
.border-34277d {
  border: 2px solid #34277d;
}
CSS variables
:root {
  --color-primary: #34277d;
  --color-primary-rgb: 52 39 125;
  --color-primary-hsl: 249 52% 32%;
}
Gradient
.gradient-34277d {
  background: linear-gradient(135deg, #34277d, #5f277d);
}
Colored shadow
.shadow-34277d {
  box-shadow: 0 8px 24px rgb(52 39 125 / 0.35);
}

Midnight Blue
#34277d  rgb(52, 39, 125)  hsl(249, 52%, 32%)  Midnight Blue
#707d27  rgb(112, 125, 39)  hsl(69, 52%, 32%)  Olive
#7d3427  rgb(125, 52, 39)  hsl(9, 52%, 32%)  Burnt Umber
#277d34  rgb(39, 125, 52)  hsl(129, 52%, 32%)  Green