#040EFE

#040efe ≈ Blue

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

#040efe is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 5.49% green and 99.61% blue; printed in CMYK it uses 98.43% cyan, 94.49% magenta, 0% yellow and 0.39% black. Its hue angle is 237.6°, with 99.21% saturation and 50.59% 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.4:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 0.72.

Description generated from the measured properties of this color.

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

Readable text 8.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #3c3db1 ≈ 0.001% of males
Protanopia #005aff ≈ 1.01% of males
Deuteranopia #003ffb ≈ 1.27% of males
Tritanopia #006c96 ≈ 0.0001% of males
Protanomaly #0047ff ≈ 1.08% of males
Deuteranomaly #0032fc ≈ 4.63% of males
Tritanomaly #0055c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040efe {
  color: #040efe;
}
Background
.bg-040efe {
  background-color: #040efe;
  color: #ffffff;
}
Border
.border-040efe {
  border: 2px solid #040efe;
}
CSS variables
:root {
  --color-primary: #040efe;
  --color-primary-rgb: 4 14 254;
  --color-primary-hsl: 238 99% 51%;
}
Gradient
.gradient-040efe {
  background: linear-gradient(135deg, #040efe, #7704fe);
}
Colored shadow
.shadow-040efe {
  box-shadow: 0 8px 24px rgb(4 14 254 / 0.35);
}

Blue
#040efe  rgb(4, 14, 254)  hsl(238, 99%, 51%)  Blue
#fef404  rgb(254, 244, 4)  hsl(58, 99%, 51%)  Cadmium Yellow
#fe040e  rgb(254, 4, 14)  hsl(358, 99%, 51%)  Red
#0efe04  rgb(14, 254, 4)  hsl(118, 99%, 51%)  Lime