#342AAA

#342aaa ≈ Egyptian Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#342aaa is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20.39% red, 16.47% green and 66.67% blue; printed in CMYK it uses 69.41% cyan, 75.29% magenta, 0% yellow and 33.33% black. Its hue angle is 244.69°, with 60.38% saturation and 41.57% 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.21:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 4.64.

Description generated from the measured properties of this color.

Conversions of #342aaa 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.0529

Readable text 10.21: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 #3c3979 ≈ 0.001% of males
Protanopia #0046ae ≈ 1.01% of males
Deuteranopia #003ba8 ≈ 1.27% of males
Tritanopia #004f68 ≈ 0.0001% of males
Protanomaly #003dac ≈ 1.08% of males
Deuteranomaly #0035a9 ≈ 4.63% of males
Tritanomaly #004387 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-342aaa {
  color: #342aaa;
}
Background
.bg-342aaa {
  background-color: #342aaa;
  color: #ffffff;
}
Border
.border-342aaa {
  border: 2px solid #342aaa;
}
CSS variables
:root {
  --color-primary: #342aaa;
  --color-primary-rgb: 52 42 170;
  --color-primary-hsl: 245 60% 42%;
}
Gradient
.gradient-342aaa {
  background: linear-gradient(135deg, #342aaa, #742aaa);
}
Colored shadow
.shadow-342aaa {
  box-shadow: 0 8px 24px rgb(52 42 170 / 0.35);
}

Egyptian Blue
#342aaa  rgb(52, 42, 170)  hsl(245, 60%, 42%)  Egyptian Blue
#a0aa2a  rgb(160, 170, 42)  hsl(65, 60%, 42%)  Apple Green
#aa342a  rgb(170, 52, 42)  hsl(5, 60%, 42%)  Firebrick
#2aaa34  rgb(42, 170, 52)  hsl(125, 60%, 42%)  Kelly Green