#042AAA

#042aaa ≈ Egyptian Blue

  • blue
  • Lightness: low
  • Saturation: strong
  • Cool

#042aaa is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 16.47% green and 66.67% blue; printed in CMYK it uses 97.65% cyan, 75.29% magenta, 0% yellow and 33.33% black. Its hue angle is 226.27°, with 95.4% saturation and 34.12% 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 corporate identities. White text on this color reaches a contrast ratio of 10.96:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 2.86.

Description generated from the measured properties of this color.

Conversions of #042aaa into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#003399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0458

Readable text 10.96:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.92:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3c3c3c ≈ 0.003% of males
Achromatomaly #2f3678 ≈ 0.001% of males
Protanopia #0044ae ≈ 1.01% of males
Deuteranopia #0035a8 ≈ 1.27% of males
Tritanopia #005068 ≈ 0.0001% of males
Protanomaly #003bac ≈ 1.08% of males
Deuteranomaly #0031a9 ≈ 4.63% of males
Tritanomaly #004487 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-042aaa {
  color: #042aaa;
}
Background
.bg-042aaa {
  background-color: #042aaa;
  color: #ffffff;
}
Border
.border-042aaa {
  border: 2px solid #042aaa;
}
CSS variables
:root {
  --color-primary: #042aaa;
  --color-primary-rgb: 4 42 170;
  --color-primary-hsl: 226 95% 34%;
}
Gradient
.gradient-042aaa {
  background: linear-gradient(135deg, #042aaa, #3104aa);
}
Colored shadow
.shadow-042aaa {
  box-shadow: 0 8px 24px rgb(4 42 170 / 0.35);
}

Egyptian Blue
#042aaa  rgb(4, 42, 170)  hsl(226, 95%, 34%)  Egyptian Blue
#aa8404  rgb(170, 132, 4)  hsl(46, 95%, 34%)  Dark Goldenrod
#aa042a  rgb(170, 4, 42)  hsl(346, 95%, 34%)  Vivid Burgundy
#2aaa04  rgb(42, 170, 4)  hsl(106, 95%, 34%)  Kelly Green