#342956

#342956 ≈ Midnight Blue

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

#342956 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 20.39% red, 16.08% green and 33.73% blue; printed in CMYK it uses 39.53% cyan, 52.33% magenta, 0% yellow and 66.27% black. Its hue angle is 254.67°, with 35.43% saturation and 24.9% 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.15:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 9.9.

Description generated from the measured properties of this color.

Conversions of #342956 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.15: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 #322e42 ≈ 0.001% of males
Protanopia #193158 ≈ 1.01% of males
Deuteranopia #1a2f55 ≈ 1.27% of males
Tritanopia #2c323b ≈ 0.0001% of males
Protanomaly #262e57 ≈ 1.08% of males
Deuteranomaly #272d55 ≈ 4.63% of males
Tritanomaly #2f2f47 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-342956 {
  color: #342956;
}
Background
.bg-342956 {
  background-color: #342956;
  color: #ffffff;
}
Border
.border-342956 {
  border: 2px solid #342956;
}
CSS variables
:root {
  --color-primary: #342956;
  --color-primary-rgb: 52 41 86;
  --color-primary-hsl: 255 35% 25%;
}
Gradient
.gradient-342956 {
  background: linear-gradient(135deg, #342956, #4a2956);
}
Colored shadow
.shadow-342956 {
  box-shadow: 0 8px 24px rgb(52 41 86 / 0.35);
}

Midnight Blue
#342956  rgb(52, 41, 86)  hsl(255, 35%, 25%)  Midnight Blue
#4b5629  rgb(75, 86, 41)  hsl(75, 35%, 25%)  Army Green
#563429  rgb(86, 52, 41)  hsl(15, 35%, 25%)  Caput Mortuum
#295634  rgb(41, 86, 52)  hsl(135, 35%, 25%)  Hunter Green