#042EEA

#042eea ≈ Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#042eea is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 18.04% green and 91.76% blue; printed in CMYK it uses 98.29% cyan, 80.34% magenta, 0% yellow and 8.24% black. Its hue angle is 229.04°, with 96.64% saturation and 46.67% 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 8.13:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 4.41.

Description generated from the measured properties of this color.

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

Readable text 8.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #3e44a5 ≈ 0.001% of males
Protanopia #005aef ≈ 1.01% of males
Deuteranopia #0044e7 ≈ 1.27% of males
Tritanopia #006b8e ≈ 0.0001% of males
Protanomaly #004ced ≈ 1.08% of males
Deuteranomaly #003ce8 ≈ 4.63% of males
Tritanomaly #0059ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-042eea {
  color: #042eea;
}
Background
.bg-042eea {
  background-color: #042eea;
  color: #ffffff;
}
Border
.border-042eea {
  border: 2px solid #042eea;
}
CSS variables
:root {
  --color-primary: #042eea;
  --color-primary-rgb: 4 46 234;
  --color-primary-hsl: 229 97% 47%;
}
Gradient
.gradient-042eea {
  background: linear-gradient(135deg, #042eea, #4d04ea);
}
Colored shadow
.shadow-042eea {
  box-shadow: 0 8px 24px rgb(4 46 234 / 0.35);
}

Blue
#042eea  rgb(4, 46, 234)  hsl(229, 97%, 47%)  Blue
#eac004  rgb(234, 192, 4)  hsl(49, 97%, 47%)  Jonquil
#ea042e  rgb(234, 4, 46)  hsl(349, 97%, 47%)  Cadmium Red
#2eea04  rgb(46, 234, 4)  hsl(109, 97%, 47%)  Lime