#2B2FA2

#2b2fa2 ≈ Egyptian Blue

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

#2b2fa2 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 16.86% red, 18.43% green and 63.53% blue; printed in CMYK it uses 73.46% cyan, 70.99% magenta, 0% yellow and 36.47% black. Its hue angle is 237.98°, with 58.05% saturation and 40.2% 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.34:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 2.78.

Description generated from the measured properties of this color.

Conversions of #2b2fa2 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.0516

Readable text 10.34:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.03:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #393a74 ≈ 0.001% of males
Protanopia #0046a5 ≈ 1.01% of males
Deuteranopia #003aa0 ≈ 1.27% of males
Tritanopia #004f65 ≈ 0.0001% of males
Protanomaly #003ea4 ≈ 1.08% of males
Deuteranomaly #0036a1 ≈ 4.63% of males
Tritanomaly #004482 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2b2fa2 {
  color: #2b2fa2;
}
Background
.bg-2b2fa2 {
  background-color: #2b2fa2;
  color: #ffffff;
}
Border
.border-2b2fa2 {
  border: 2px solid #2b2fa2;
}
CSS variables
:root {
  --color-primary: #2b2fa2;
  --color-primary-rgb: 43 47 162;
  --color-primary-hsl: 238 58% 40%;
}
Gradient
.gradient-2b2fa2 {
  background: linear-gradient(135deg, #2b2fa2, #632ba2);
}
Colored shadow
.shadow-2b2fa2 {
  box-shadow: 0 8px 24px rgb(43 47 162 / 0.35);
}

Egyptian Blue
#2b2fa2  rgb(43, 47, 162)  hsl(238, 58%, 40%)  Egyptian Blue
#a29e2b  rgb(162, 158, 43)  hsl(58, 58%, 40%)  Brass
#a22b2f  rgb(162, 43, 47)  hsl(358, 58%, 40%)  Brown
#2fa22b  rgb(47, 162, 43)  hsl(118, 58%, 40%)  Islamic Green