#342763

#342763 ≈ Midnight Blue

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

#342763 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 38.82% blue; printed in CMYK it uses 47.47% cyan, 60.61% magenta, 0% yellow and 61.18% black. Its hue angle is 253°, with 43.48% saturation and 27.06% 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 12.99:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.69.

Description generated from the measured properties of this color.

Conversions of #342763 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 12.99: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 #322d4a ≈ 0.001% of males
Protanopia #033265 ≈ 1.01% of males
Deuteranopia #053062 ≈ 1.27% of males
Tritanopia #263441 ≈ 0.0001% of males
Protanomaly #202e64 ≈ 1.08% of males
Deuteranomaly #202c62 ≈ 4.63% of males
Tritanomaly #2c2f50 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-342763 {
  color: #342763;
}
Background
.bg-342763 {
  background-color: #342763;
  color: #ffffff;
}
Border
.border-342763 {
  border: 2px solid #342763;
}
CSS variables
:root {
  --color-primary: #342763;
  --color-primary-rgb: 52 39 99;
  --color-primary-hsl: 253 43% 27%;
}
Gradient
.gradient-342763 {
  background: linear-gradient(135deg, #342763, #522763);
}
Colored shadow
.shadow-342763 {
  box-shadow: 0 8px 24px rgb(52 39 99 / 0.35);
}

Midnight Blue
#342763  rgb(52, 39, 99)  hsl(253, 43%, 27%)  Midnight Blue
#566327  rgb(86, 99, 39)  hsl(73, 43%, 27%)  Dark Olive Green
#633427  rgb(99, 52, 39)  hsl(13, 43%, 27%)  Caput Mortuum
#276334  rgb(39, 99, 52)  hsl(133, 43%, 27%)  Hunter Green