#40299E

#40299e ≈ Imperial Blue

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

#40299e is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 16.08% green and 61.96% blue; printed in CMYK it uses 59.49% cyan, 74.05% magenta, 0% yellow and 38.04% black. Its hue angle is 251.79°, with 58.79% saturation and 39.02% 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.35:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 5.71.

Description generated from the measured properties of this color.

Conversions of #40299e 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.0514

Readable text 10.35:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.03:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #403872 ≈ 0.001% of males
Protanopia #0044a1 ≈ 1.01% of males
Deuteranopia #003c9c ≈ 1.27% of males
Tritanopia #054961 ≈ 0.0001% of males
Protanomaly #003ba0 ≈ 1.08% of males
Deuteranomaly #00359d ≈ 4.63% of males
Tritanomaly #283f7e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-40299e {
  color: #40299e;
}
Background
.bg-40299e {
  background-color: #40299e;
  color: #ffffff;
}
Border
.border-40299e {
  border: 2px solid #40299e;
}
CSS variables
:root {
  --color-primary: #40299e;
  --color-primary-rgb: 64 41 158;
  --color-primary-hsl: 252 59% 39%;
}
Gradient
.gradient-40299e {
  background: linear-gradient(135deg, #40299e, #7a299e);
}
Colored shadow
.shadow-40299e {
  box-shadow: 0 8px 24px rgb(64 41 158 / 0.35);
}

Imperial Blue
#40299e  rgb(64, 41, 158)  hsl(252, 59%, 39%)  Imperial Blue
#879e29  rgb(135, 158, 41)  hsl(72, 59%, 39%)  Olive Drab
#9e4029  rgb(158, 64, 41)  hsl(12, 59%, 39%)  Chestnut
#299e40  rgb(41, 158, 64)  hsl(132, 59%, 39%)  Shamrock Green