#38245D

#38245d ≈ Midnight Blue

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

#38245d is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 21.96% red, 14.12% green and 36.47% blue; printed in CMYK it uses 39.78% cyan, 61.29% magenta, 0% yellow and 63.53% black. Its hue angle is 261.05°, with 44.19% saturation and 25.29% 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.3:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.92.

Description generated from the measured properties of this color.

Conversions of #38245d 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.0289

Readable text 13.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2f2f2f ≈ 0.003% of males
Achromatomaly #332b46 ≈ 0.001% of males
Protanopia #07305f ≈ 1.01% of males
Deuteranopia #0f2f5c ≈ 1.27% of males
Tritanopia #2f303c ≈ 0.0001% of males
Protanomaly #232b5e ≈ 1.08% of males
Deuteranomaly #252b5c ≈ 4.63% of males
Tritanomaly #332c4b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-38245d {
  color: #38245d;
}
Background
.bg-38245d {
  background-color: #38245d;
  color: #ffffff;
}
Border
.border-38245d {
  border: 2px solid #38245d;
}
CSS variables
:root {
  --color-primary: #38245d;
  --color-primary-rgb: 56 36 93;
  --color-primary-hsl: 261 44% 25%;
}
Gradient
.gradient-38245d {
  background: linear-gradient(135deg, #38245d, #54245d);
}
Colored shadow
.shadow-38245d {
  box-shadow: 0 8px 24px rgb(56 36 93 / 0.35);
}

Midnight Blue
#38245d  rgb(56, 36, 93)  hsl(261, 44%, 25%)  Midnight Blue
#495d24  rgb(73, 93, 36)  hsl(81, 44%, 25%)  Army Green
#5d3824  rgb(93, 56, 36)  hsl(21, 44%, 25%)  Coffee
#245d38  rgb(36, 93, 56)  hsl(141, 44%, 25%)  Hunter Green