#042FB2

#042fb2 ≈ Egyptian Blue

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

#042fb2 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 18.43% green and 69.8% blue; printed in CMYK it uses 97.75% cyan, 73.6% magenta, 0% yellow and 30.2% black. Its hue angle is 225.17°, with 95.6% saturation and 35.69% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 10.22:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 2.24.

Description generated from the measured properties of this color.

Conversions of #042fb2 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.0527

Readable text 10.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.05:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #323a7e ≈ 0.001% of males
Protanopia #0049b6 ≈ 1.01% of males
Deuteranopia #0039b0 ≈ 1.27% of males
Tritanopia #00566e ≈ 0.0001% of males
Protanomaly #0040b4 ≈ 1.08% of males
Deuteranomaly #0035b1 ≈ 4.63% of males
Tritanomaly #00498e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-042fb2 {
  color: #042fb2;
}
Background
.bg-042fb2 {
  background-color: #042fb2;
  color: #ffffff;
}
Border
.border-042fb2 {
  border: 2px solid #042fb2;
}
CSS variables
:root {
  --color-primary: #042fb2;
  --color-primary-rgb: 4 47 178;
  --color-primary-hsl: 225 96% 36%;
}
Gradient
.gradient-042fb2 {
  background: linear-gradient(135deg, #042fb2, #3004b2);
}
Colored shadow
.shadow-042fb2 {
  box-shadow: 0 8px 24px rgb(4 47 178 / 0.35);
}

Egyptian Blue
#042fb2  rgb(4, 47, 178)  hsl(225, 96%, 36%)  Egyptian Blue
#b28704  rgb(178, 135, 4)  hsl(45, 96%, 36%)  Dark Goldenrod
#b2042f  rgb(178, 4, 47)  hsl(345, 96%, 36%)  Vivid Burgundy
#2fb204  rgb(47, 178, 4)  hsl(105, 96%, 36%)  Kelly Green