#2A2FA6

#2a2fa6 ≈ Egyptian Blue

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#2a2fa6 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 16.47% red, 18.43% green and 65.1% blue; printed in CMYK it uses 74.7% cyan, 71.69% magenta, 0% yellow and 34.9% black. Its hue angle is 237.58°, with 59.62% saturation and 40.78% 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 10.22:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 2.74.

Description generated from the measured properties of this color.

Conversions of #2a2fa6 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.0528

Readable text 10.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.06:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #393b77 ≈ 0.001% of males
Protanopia #0047aa ≈ 1.01% of males
Deuteranopia #003ba4 ≈ 1.27% of males
Tritanopia #005067 ≈ 0.0001% of males
Protanomaly #003fa8 ≈ 1.08% of males
Deuteranomaly #0037a5 ≈ 4.63% of males
Tritanomaly #004585 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a2fa6 {
  color: #2a2fa6;
}
Background
.bg-2a2fa6 {
  background-color: #2a2fa6;
  color: #ffffff;
}
Border
.border-2a2fa6 {
  border: 2px solid #2a2fa6;
}
CSS variables
:root {
  --color-primary: #2a2fa6;
  --color-primary-rgb: 42 47 166;
  --color-primary-hsl: 238 60% 41%;
}
Gradient
.gradient-2a2fa6 {
  background: linear-gradient(135deg, #2a2fa6, #632aa6);
}
Colored shadow
.shadow-2a2fa6 {
  box-shadow: 0 8px 24px rgb(42 47 166 / 0.35);
}

Egyptian Blue
#2a2fa6  rgb(42, 47, 166)  hsl(238, 60%, 41%)  Egyptian Blue
#a6a12a  rgb(166, 161, 42)  hsl(58, 60%, 41%)  Brass
#a62a2f  rgb(166, 42, 47)  hsl(358, 60%, 41%)  Brown
#2fa62a  rgb(47, 166, 42)  hsl(118, 60%, 41%)  Kelly Green