#040EFD

#040efd ≈ Blue

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

#040efd 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.22% blue; printed in CMYK it uses 98.42% cyan, 94.47% magenta, 0% yellow and 0.78% black. Its hue angle is 237.59°, with 98.42% saturation and 50.39% 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.45:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 0.68.

Description generated from the measured properties of this color.

Conversions of #040efd 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.0743

Readable text 8.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #3c3db1 ≈ 0.001% of males
Protanopia #0059ff ≈ 1.01% of males
Deuteranopia #003ffa ≈ 1.27% of males
Tritanopia #006c95 ≈ 0.0001% of males
Protanomaly #0047ff ≈ 1.08% of males
Deuteranomaly #0032fb ≈ 4.63% of males
Tritanomaly #0055c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040efd {
  color: #040efd;
}
Background
.bg-040efd {
  background-color: #040efd;
  color: #ffffff;
}
Border
.border-040efd {
  border: 2px solid #040efd;
}
CSS variables
:root {
  --color-primary: #040efd;
  --color-primary-rgb: 4 14 253;
  --color-primary-hsl: 238 98% 50%;
}
Gradient
.gradient-040efd {
  background: linear-gradient(135deg, #040efd, #7604fd);
}
Colored shadow
.shadow-040efd {
  box-shadow: 0 8px 24px rgb(4 14 253 / 0.35);
}

Blue
#040efd  rgb(4, 14, 253)  hsl(238, 98%, 50%)  Blue
#fdf304  rgb(253, 243, 4)  hsl(58, 98%, 50%)  Cadmium Yellow
#fd040e  rgb(253, 4, 14)  hsl(358, 98%, 50%)  Red
#0efd04  rgb(14, 253, 4)  hsl(118, 98%, 50%)  Lime