#180648

#180648 ≈ Midnight Blue

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

#180648 is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 9.41% red, 2.35% green and 28.24% blue; printed in CMYK it uses 66.67% cyan, 91.67% magenta, 0% yellow and 71.76% black. Its hue angle is 256.36°, with 84.62% saturation and 15.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 18.13:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.71.

Description generated from the measured properties of this color.

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

Readable text 18.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.16:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #161616 ≈ 0.003% of males
Achromatomaly #171131 ≈ 0.001% of males
Protanopia #00184a ≈ 1.01% of males
Deuteranopia #001447 ≈ 1.27% of males
Tritanopia #001a28 ≈ 0.0001% of males
Protanomaly #001249 ≈ 1.08% of males
Deuteranomaly #000f47 ≈ 4.63% of males
Tritanomaly #0b1437 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-180648 {
  color: #180648;
}
Background
.bg-180648 {
  background-color: #180648;
  color: #ffffff;
}
Border
.border-180648 {
  border: 2px solid #180648;
}
CSS variables
:root {
  --color-primary: #180648;
  --color-primary-rgb: 24 6 72;
  --color-primary-hsl: 256 85% 15%;
}
Gradient
.gradient-180648 {
  background: linear-gradient(135deg, #180648, #390648);
}
Colored shadow
.shadow-180648 {
  box-shadow: 0 8px 24px rgb(24 6 72 / 0.35);
}

Midnight Blue
#180648  rgb(24, 6, 72)  hsl(256, 85%, 15%)  Midnight Blue
#364806  rgb(54, 72, 6)  hsl(76, 85%, 15%)  Army Green
#481806  rgb(72, 24, 6)  hsl(16, 85%, 15%)  Caput Mortuum
#064818  rgb(6, 72, 24)  hsl(136, 85%, 15%)  British Racing Green