#291242

#291242 ≈ Midnight Blue

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

#291242 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 16.08% red, 7.06% green and 25.88% blue; printed in CMYK it uses 37.88% cyan, 72.73% magenta, 0% yellow and 74.12% black. Its hue angle is 268.75°, with 57.14% saturation and 16.47% 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 16.67:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 10.43.

Description generated from the measured properties of this color.

Conversions of #291242 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#330033
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.013

Readable text 16.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.26:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1e1e1e ≈ 0.003% of males
Achromatomaly #231a30 ≈ 0.001% of males
Protanopia #001e43 ≈ 1.01% of males
Deuteranopia #031e41 ≈ 1.27% of males
Tritanopia #241c28 ≈ 0.0001% of males
Protanomaly #161a43 ≈ 1.08% of males
Deuteranomaly #191a41 ≈ 4.63% of males
Tritanomaly #261934 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-291242 {
  color: #291242;
}
Background
.bg-291242 {
  background-color: #291242;
  color: #ffffff;
}
Border
.border-291242 {
  border: 2px solid #291242;
}
CSS variables
:root {
  --color-primary: #291242;
  --color-primary-rgb: 41 18 66;
  --color-primary-hsl: 269 57% 16%;
}
Gradient
.gradient-291242 {
  background: linear-gradient(135deg, #291242, #411242);
}
Colored shadow
.shadow-291242 {
  box-shadow: 0 8px 24px rgb(41 18 66 / 0.35);
}

Midnight Blue
#291242  rgb(41, 18, 66)  hsl(269, 57%, 16%)  Midnight Blue
#2b4212  rgb(43, 66, 18)  hsl(89, 57%, 16%)  Army Green
#422912  rgb(66, 41, 18)  hsl(29, 57%, 16%)  Bistre
#124229  rgb(18, 66, 41)  hsl(149, 57%, 16%)  British Racing Green