#240D8A

#240d8a ≈ Phthalo Blue

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

#240d8a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 14.12% red, 5.1% green and 54.12% blue; printed in CMYK it uses 73.91% cyan, 90.58% magenta, 0% yellow and 45.88% black. Its hue angle is 251.04°, with 82.78% saturation and 29.61% 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 14:1 (WCAG AAA). The closest named color is Phthalo Blue (#000f89), ΔE 2.25.

Description generated from the measured properties of this color.

Conversions of #240d8a 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.025

Readable text 14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2c2c2c ≈ 0.003% of males
Achromatomaly #292360 ≈ 0.001% of males
Protanopia #00318d ≈ 1.01% of males
Deuteranopia #002688 ≈ 1.27% of males
Tritanopia #003850 ≈ 0.0001% of males
Protanomaly #00278c ≈ 1.08% of males
Deuteranomaly #001f89 ≈ 4.63% of males
Tritanomaly #002c6c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Phthalo Blue
#240d8a  rgb(36, 13, 138)  hsl(251, 83%, 30%)  Phthalo Blue
#738a0d  rgb(115, 138, 13)  hsl(71, 83%, 30%)  Olive Drab
#8a240d  rgb(138, 36, 13)  hsl(11, 83%, 30%)  Kobe
#0d8a24  rgb(13, 138, 36)  hsl(131, 83%, 30%)  Forest Green