#240C8D

#240c8d ≈ Phthalo Blue

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#240c8d is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 14.12% red, 4.71% green and 55.29% blue; printed in CMYK it uses 74.47% cyan, 91.49% magenta, 0% yellow and 44.71% black. Its hue angle is 251.16°, with 84.31% saturation and 30% 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 corporate identities. White text on this color reaches a contrast ratio of 13.89:1 (WCAG AAA). The closest named color is Phthalo Blue (#000f89), ΔE 2.36.

Description generated from the measured properties of this color.

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

Readable text 13.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2c2c2c ≈ 0.003% of males
Achromatomaly #292362 ≈ 0.001% of males
Protanopia #003290 ≈ 1.01% of males
Deuteranopia #00278b ≈ 1.27% of males
Tritanopia #003952 ≈ 0.0001% of males
Protanomaly #00278f ≈ 1.08% of males
Deuteranomaly #001f8c ≈ 4.63% of males
Tritanomaly #002d6e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-240c8d {
  color: #240c8d;
}
Background
.bg-240c8d {
  background-color: #240c8d;
  color: #ffffff;
}
Border
.border-240c8d {
  border: 2px solid #240c8d;
}
CSS variables
:root {
  --color-primary: #240c8d;
  --color-primary-rgb: 36 12 141;
  --color-primary-hsl: 251 84% 30%;
}
Gradient
.gradient-240c8d {
  background: linear-gradient(135deg, #240c8d, #640c8d);
}
Colored shadow
.shadow-240c8d {
  box-shadow: 0 8px 24px rgb(36 12 141 / 0.35);
}

Phthalo Blue
#240c8d  rgb(36, 12, 141)  hsl(251, 84%, 30%)  Phthalo Blue
#758d0c  rgb(117, 141, 12)  hsl(71, 84%, 30%)  Olive Drab
#8d240c  rgb(141, 36, 12)  hsl(11, 84%, 30%)  Kobe
#0c8d24  rgb(12, 141, 36)  hsl(131, 84%, 30%)  Forest Green