#2A2F97

#2a2f97 ≈ Egyptian Blue

  • blue
  • Lightness: low
  • Saturation: moderate
  • Cool

#2a2f97 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 16.47% red, 18.43% green and 59.22% blue; printed in CMYK it uses 72.19% cyan, 68.87% magenta, 0% yellow and 40.78% black. Its hue angle is 237.25°, with 56.48% saturation and 37.84% 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.76:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 3.16.

Description generated from the measured properties of this color.

Conversions of #2a2f97 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.0476

Readable text 10.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.95:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #37386d ≈ 0.001% of males
Protanopia #00439a ≈ 1.01% of males
Deuteranopia #003995 ≈ 1.27% of males
Tritanopia #004b5f ≈ 0.0001% of males
Protanomaly #003c99 ≈ 1.08% of males
Deuteranomaly #003596 ≈ 4.63% of males
Tritanomaly #004179 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a2f97 {
  color: #2a2f97;
}
Background
.bg-2a2f97 {
  background-color: #2a2f97;
  color: #ffffff;
}
Border
.border-2a2f97 {
  border: 2px solid #2a2f97;
}
CSS variables
:root {
  --color-primary: #2a2f97;
  --color-primary-rgb: 42 47 151;
  --color-primary-hsl: 237 56% 38%;
}
Gradient
.gradient-2a2f97 {
  background: linear-gradient(135deg, #2a2f97, #5b2a97);
}
Colored shadow
.shadow-2a2f97 {
  box-shadow: 0 8px 24px rgb(42 47 151 / 0.35);
}

Egyptian Blue
#2a2f97  rgb(42, 47, 151)  hsl(237, 56%, 38%)  Egyptian Blue
#97922a  rgb(151, 146, 42)  hsl(57, 56%, 38%)  Olive
#972a2f  rgb(151, 42, 47)  hsl(357, 56%, 38%)  Brown
#2f972a  rgb(47, 151, 42)  hsl(117, 56%, 38%)  Islamic Green