#2A02AA

#2a02aa ≈ Zaffre

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

#2a02aa is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 16.47% red, 0.78% green and 66.67% blue; printed in CMYK it uses 75.29% cyan, 98.82% magenta, 0% yellow and 33.33% black. Its hue angle is 254.29°, with 97.67% saturation and 33.73% 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.44:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.79.

Description generated from the measured properties of this color.

Conversions of #2a02aa 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.0344

Readable text 12.44:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #343434 ≈ 0.003% of males
Achromatomaly #302876 ≈ 0.001% of males
Protanopia #003aae ≈ 1.01% of males
Deuteranopia #002da8 ≈ 1.27% of males
Tritanopia #004462 ≈ 0.0001% of males
Protanomaly #002dac ≈ 1.08% of males
Deuteranomaly #0022a9 ≈ 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-2a02aa {
  color: #2a02aa;
}
Background
.bg-2a02aa {
  background-color: #2a02aa;
  color: #ffffff;
}
Border
.border-2a02aa {
  border: 2px solid #2a02aa;
}
CSS variables
:root {
  --color-primary: #2a02aa;
  --color-primary-rgb: 42 2 170;
  --color-primary-hsl: 254 98% 34%;
}
Gradient
.gradient-2a02aa {
  background: linear-gradient(135deg, #2a02aa, #7e02aa);
}
Colored shadow
.shadow-2a02aa {
  box-shadow: 0 8px 24px rgb(42 2 170 / 0.35);
}

Zaffre
#2a02aa  rgb(42, 2, 170)  hsl(254, 98%, 34%)  Zaffre
#82aa02  rgb(130, 170, 2)  hsl(74, 98%, 34%)  Apple Green
#aa2a02  rgb(170, 42, 2)  hsl(14, 98%, 34%)  Rufous
#02aa2a  rgb(2, 170, 42)  hsl(134, 98%, 34%)  Kelly Green