#2004AA

#2004aa ≈ Zaffre

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

#2004aa is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 12.55% red, 1.57% green and 66.67% blue; printed in CMYK it uses 81.18% cyan, 97.65% magenta, 0% yellow and 33.33% black. Its hue angle is 250.12°, with 95.4% saturation and 34.12% 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 12.66:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.2.

Description generated from the measured properties of this color.

Conversions of #2004aa 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.033

Readable text 12.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #333333 ≈ 0.003% of males
Achromatomaly #2c2776 ≈ 0.001% of males
Protanopia #003aae ≈ 1.01% of males
Deuteranopia #002ba8 ≈ 1.27% of males
Tritanopia #004562 ≈ 0.0001% of males
Protanomaly #002dac ≈ 1.08% of males
Deuteranomaly #0021a9 ≈ 4.63% of males
Tritanomaly #003585 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2004aa {
  color: #2004aa;
}
Background
.bg-2004aa {
  background-color: #2004aa;
  color: #ffffff;
}
Border
.border-2004aa {
  border: 2px solid #2004aa;
}
CSS variables
:root {
  --color-primary: #2004aa;
  --color-primary-rgb: 32 4 170;
  --color-primary-hsl: 250 95% 34%;
}
Gradient
.gradient-2004aa {
  background: linear-gradient(135deg, #2004aa, #7304aa);
}
Colored shadow
.shadow-2004aa {
  box-shadow: 0 8px 24px rgb(32 4 170 / 0.35);
}

Zaffre
#2004aa  rgb(32, 4, 170)  hsl(250, 95%, 34%)  Zaffre
#8eaa04  rgb(142, 170, 4)  hsl(70, 95%, 34%)  Apple Green
#aa2004  rgb(170, 32, 4)  hsl(10, 95%, 34%)  Rufous
#04aa20  rgb(4, 170, 32)  hsl(130, 95%, 34%)  Kelly Green