#2D02AB

#2d02ab ≈ Zaffre

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

#2d02ab is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 17.65% red, 0.78% green and 67.06% blue; printed in CMYK it uses 73.68% cyan, 98.83% magenta, 0% yellow and 32.94% black. Its hue angle is 255.27°, with 97.69% saturation and 33.92% 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.29:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.98.

Description generated from the measured properties of this color.

Conversions of #2d02ab 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.0354

Readable text 12.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #353535 ≈ 0.003% of males
Achromatomaly #322877 ≈ 0.001% of males
Protanopia #003baf ≈ 1.01% of males
Deuteranopia #002ea9 ≈ 1.27% of males
Tritanopia #004463 ≈ 0.0001% of males
Protanomaly #002dad ≈ 1.08% of males
Deuteranomaly #0023aa ≈ 4.63% of males
Tritanomaly #003586 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d02ab {
  color: #2d02ab;
}
Background
.bg-2d02ab {
  background-color: #2d02ab;
  color: #ffffff;
}
Border
.border-2d02ab {
  border: 2px solid #2d02ab;
}
CSS variables
:root {
  --color-primary: #2d02ab;
  --color-primary-rgb: 45 2 171;
  --color-primary-hsl: 255 98% 34%;
}
Gradient
.gradient-2d02ab {
  background: linear-gradient(135deg, #2d02ab, #8202ab);
}
Colored shadow
.shadow-2d02ab {
  box-shadow: 0 8px 24px rgb(45 2 171 / 0.35);
}

Zaffre
#2d02ab  rgb(45, 2, 171)  hsl(255, 98%, 34%)  Zaffre
#80ab02  rgb(128, 171, 2)  hsl(75, 98%, 34%)  Apple Green
#ab2d02  rgb(171, 45, 2)  hsl(15, 98%, 34%)  Rufous
#02ab2d  rgb(2, 171, 45)  hsl(135, 98%, 34%)  Kelly Green