#240D36

#240d36 ≈ Midnight Blue

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

#240d36 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 14.12% red, 5.1% green and 21.18% blue; printed in CMYK it uses 33.33% cyan, 75.93% magenta, 0% yellow and 78.82% black. Its hue angle is 273.66°, with 61.19% saturation and 13.14% 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 17.71:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 12.8.

Description generated from the measured properties of this color.

Conversions of #240d36 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.0093

Readable text 17.71:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #181818 ≈ 0.003% of males
Achromatomaly #1e1427 ≈ 0.001% of males
Protanopia #001737 ≈ 1.01% of males
Deuteranopia #051835 ≈ 1.27% of males
Tritanopia #211620 ≈ 0.0001% of males
Protanomaly #131437 ≈ 1.08% of males
Deuteranomaly #161535 ≈ 4.63% of males
Tritanomaly #22132a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-240d36 {
  color: #240d36;
}
Background
.bg-240d36 {
  background-color: #240d36;
  color: #ffffff;
}
Border
.border-240d36 {
  border: 2px solid #240d36;
}
CSS variables
:root {
  --color-primary: #240d36;
  --color-primary-rgb: 36 13 54;
  --color-primary-hsl: 274 61% 13%;
}
Gradient
.gradient-240d36 {
  background: linear-gradient(135deg, #240d36, #360d34);
}
Colored shadow
.shadow-240d36 {
  box-shadow: 0 8px 24px rgb(36 13 54 / 0.35);
}

Midnight Blue
#240d36  rgb(36, 13, 54)  hsl(274, 61%, 13%)  Midnight Blue
#1f360d  rgb(31, 54, 13)  hsl(94, 61%, 13%)  British Racing Green
#36240d  rgb(54, 36, 13)  hsl(34, 61%, 13%)  Bistre
#0d3624  rgb(13, 54, 36)  hsl(154, 61%, 13%)  Phthalo Green