#34275E

#34275e ≈ Midnight Blue

  • violet
  • Lightness: low
  • Saturation: muted
  • Cool

#34275e is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 20.39% red, 15.29% green and 36.86% blue; printed in CMYK it uses 44.68% cyan, 58.51% magenta, 0% yellow and 63.14% black. Its hue angle is 254.18°, with 41.35% saturation and 26.08% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 13.14:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.64.

Description generated from the measured properties of this color.

Conversions of #34275e 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.0299

Readable text 13.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #303030 ≈ 0.003% of males
Achromatomaly #322d47 ≈ 0.001% of males
Protanopia #0c3160 ≈ 1.01% of males
Deuteranopia #0e2f5d ≈ 1.27% of males
Tritanopia #28333e ≈ 0.0001% of males
Protanomaly #222d5f ≈ 1.08% of males
Deuteranomaly #232c5d ≈ 4.63% of males
Tritanomaly #2d2e4d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-34275e {
  color: #34275e;
}
Background
.bg-34275e {
  background-color: #34275e;
  color: #ffffff;
}
Border
.border-34275e {
  border: 2px solid #34275e;
}
CSS variables
:root {
  --color-primary: #34275e;
  --color-primary-rgb: 52 39 94;
  --color-primary-hsl: 254 41% 26%;
}
Gradient
.gradient-34275e {
  background: linear-gradient(135deg, #34275e, #50275e);
}
Colored shadow
.shadow-34275e {
  box-shadow: 0 8px 24px rgb(52 39 94 / 0.35);
}

Midnight Blue
#34275e  rgb(52, 39, 94)  hsl(254, 41%, 26%)  Midnight Blue
#515e27  rgb(81, 94, 39)  hsl(74, 41%, 26%)  Army Green
#5e3427  rgb(94, 52, 39)  hsl(14, 41%, 26%)  Caput Mortuum
#275e34  rgb(39, 94, 52)  hsl(134, 41%, 26%)  Hunter Green