#40239B

#40239b ≈ Zaffre

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

#40239b is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 13.73% green and 60.78% blue; printed in CMYK it uses 58.71% cyan, 77.42% magenta, 0% yellow and 39.22% black. Its hue angle is 254.5°, with 63.16% saturation and 37.25% 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 brand accents. White text on this color reaches a contrast ratio of 10.87:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 5.37.

Description generated from the measured properties of this color.

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

Readable text 10.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.93:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3d3d3d ≈ 0.003% of males
Achromatomaly #3e346f ≈ 0.001% of males
Protanopia #00409e ≈ 1.01% of males
Deuteranopia #003999 ≈ 1.27% of males
Tritanopia #0e455e ≈ 0.0001% of males
Protanomaly #00379d ≈ 1.08% of males
Deuteranomaly #00329a ≈ 4.63% of males
Tritanomaly #2a3a7b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-40239b {
  color: #40239b;
}
Background
.bg-40239b {
  background-color: #40239b;
  color: #ffffff;
}
Border
.border-40239b {
  border: 2px solid #40239b;
}
CSS variables
:root {
  --color-primary: #40239b;
  --color-primary-rgb: 64 35 155;
  --color-primary-hsl: 255 63% 37%;
}
Gradient
.gradient-40239b {
  background: linear-gradient(135deg, #40239b, #7c239b);
}
Colored shadow
.shadow-40239b {
  box-shadow: 0 8px 24px rgb(64 35 155 / 0.35);
}

Zaffre
#40239b  rgb(64, 35, 155)  hsl(255, 63%, 37%)  Zaffre
#7e9b23  rgb(126, 155, 35)  hsl(75, 63%, 37%)  Olive Drab
#9b4023  rgb(155, 64, 35)  hsl(15, 63%, 37%)  Chestnut
#239b40  rgb(35, 155, 64)  hsl(135, 63%, 37%)  Shamrock Green