#2B02AB

#2b02ab ≈ Zaffre

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

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

Description generated from the measured properties of this color.

Conversions of #2b02ab 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.035

Readable text 12.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #353535 ≈ 0.003% of males
Achromatomaly #312877 ≈ 0.001% of males
Protanopia #003baf ≈ 1.01% of males
Deuteranopia #002da9 ≈ 1.27% of males
Tritanopia #004563 ≈ 0.0001% of males
Protanomaly #002dad ≈ 1.08% of males
Deuteranomaly #0022aa ≈ 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-2b02ab {
  color: #2b02ab;
}
Background
.bg-2b02ab {
  background-color: #2b02ab;
  color: #ffffff;
}
Border
.border-2b02ab {
  border: 2px solid #2b02ab;
}
CSS variables
:root {
  --color-primary: #2b02ab;
  --color-primary-rgb: 43 2 171;
  --color-primary-hsl: 255 98% 34%;
}
Gradient
.gradient-2b02ab {
  background: linear-gradient(135deg, #2b02ab, #8002ab);
}
Colored shadow
.shadow-2b02ab {
  box-shadow: 0 8px 24px rgb(43 2 171 / 0.35);
}

Zaffre
#2b02ab  rgb(43, 2, 171)  hsl(255, 98%, 34%)  Zaffre
#82ab02  rgb(130, 171, 2)  hsl(75, 98%, 34%)  Apple Green
#ab2b02  rgb(171, 43, 2)  hsl(15, 98%, 34%)  Rufous
#02ab2b  rgb(2, 171, 43)  hsl(135, 98%, 34%)  Kelly Green