#040EFF

#040eff ≈ Blue

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

#040eff 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 100% blue; printed in CMYK it uses 98.43% cyan, 94.51% magenta, 0% yellow and 0% black. Its hue angle is 237.61°, with 100% saturation and 50.78% 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.36:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 0.77.

Description generated from the measured properties of this color.

Conversions of #040eff 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.0756

Readable text 8.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #3c3db2 ≈ 0.001% of males
Protanopia #005aff ≈ 1.01% of males
Deuteranopia #0040fb ≈ 1.27% of males
Tritanopia #006d96 ≈ 0.0001% of males
Protanomaly #0047ff ≈ 1.08% of males
Deuteranomaly #0032fd ≈ 4.63% of males
Tritanomaly #0056c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#040eff  rgb(4, 14, 255)  hsl(238, 100%, 51%)  Blue
#fff504  rgb(255, 245, 4)  hsl(58, 100%, 51%)  Cadmium Yellow
#ff040e  rgb(255, 4, 14)  hsl(358, 100%, 51%)  Red
#0eff04  rgb(14, 255, 4)  hsl(118, 100%, 51%)  Lime