#2A1EA8

#2a1ea8 ≈ Zaffre

  • blue
  • Lightness: low
  • Saturation: strong
  • Cool

#2a1ea8 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 16.47% red, 11.76% green and 65.88% blue; printed in CMYK it uses 75% cyan, 82.14% magenta, 0% yellow and 34.12% black. Its hue angle is 245.22°, with 69.7% saturation and 38.82% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 11.35:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.63.

Description generated from the measured properties of this color.

Conversions of #2a1ea8 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.0425

Readable text 11.35:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3a3a3a ≈ 0.003% of males
Achromatomaly #343176 ≈ 0.001% of males
Protanopia #0040ac ≈ 1.01% of males
Deuteranopia #0034a6 ≈ 1.27% of males
Tritanopia #004a64 ≈ 0.0001% of males
Protanomaly #0035aa ≈ 1.08% of males
Deuteranomaly #002ca7 ≈ 4.63% of males
Tritanomaly #003d85 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a1ea8 {
  color: #2a1ea8;
}
Background
.bg-2a1ea8 {
  background-color: #2a1ea8;
  color: #ffffff;
}
Border
.border-2a1ea8 {
  border: 2px solid #2a1ea8;
}
CSS variables
:root {
  --color-primary: #2a1ea8;
  --color-primary-rgb: 42 30 168;
  --color-primary-hsl: 245 70% 39%;
}
Gradient
.gradient-2a1ea8 {
  background: linear-gradient(135deg, #2a1ea8, #6f1ea8);
}
Colored shadow
.shadow-2a1ea8 {
  box-shadow: 0 8px 24px rgb(42 30 168 / 0.35);
}

Zaffre
#2a1ea8  rgb(42, 30, 168)  hsl(245, 70%, 39%)  Zaffre
#9ca81e  rgb(156, 168, 30)  hsl(65, 70%, 39%)  Apple Green
#a82a1e  rgb(168, 42, 30)  hsl(5, 70%, 39%)  Cornell Red
#1ea82a  rgb(30, 168, 42)  hsl(125, 70%, 39%)  Kelly Green