#342FAA

#342faa ≈ Egyptian Blue

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

#342faa is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 20.39% red, 18.43% green and 66.67% blue; printed in CMYK it uses 69.41% cyan, 72.35% magenta, 0% yellow and 33.33% black. Its hue angle is 242.44°, with 56.68% saturation and 42.55% 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 9.84:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 3.82.

Description generated from the measured properties of this color.

Conversions of #342faa 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.0567

Readable text 9.84:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.13:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #3e3c7a ≈ 0.001% of males
Protanopia #0049ae ≈ 1.01% of males
Deuteranopia #003ea8 ≈ 1.27% of males
Tritanopia #005169 ≈ 0.0001% of males
Protanomaly #0040ac ≈ 1.08% of males
Deuteranomaly #0038a9 ≈ 4.63% of males
Tritanomaly #004688 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Egyptian Blue
#342faa  rgb(52, 47, 170)  hsl(242, 57%, 43%)  Egyptian Blue
#a5aa2f  rgb(165, 170, 47)  hsl(62, 57%, 43%)  Brass
#aa342f  rgb(170, 52, 47)  hsl(2, 57%, 43%)  Brown
#2faa34  rgb(47, 170, 52)  hsl(122, 57%, 43%)  Kelly Green