#040FFA

#040ffa ≈ Blue

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

#040ffa 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.88% green and 98.04% blue; printed in CMYK it uses 98.4% cyan, 94% magenta, 0% yellow and 1.96% black. Its hue angle is 237.32°, with 96.85% saturation and 49.8% 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.56:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 0.74.

Description generated from the measured properties of this color.

Conversions of #040ffa 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.0727

Readable text 8.56:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #3b3caf ≈ 0.001% of males
Protanopia #0059ff ≈ 1.01% of males
Deuteranopia #003ef7 ≈ 1.27% of males
Tritanopia #006a93 ≈ 0.0001% of males
Protanomaly #0046fd ≈ 1.08% of males
Deuteranomaly #0031f8 ≈ 4.63% of males
Tritanomaly #0054c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040ffa {
  color: #040ffa;
}
Background
.bg-040ffa {
  background-color: #040ffa;
  color: #ffffff;
}
Border
.border-040ffa {
  border: 2px solid #040ffa;
}
CSS variables
:root {
  --color-primary: #040ffa;
  --color-primary-rgb: 4 15 250;
  --color-primary-hsl: 237 97% 50%;
}
Gradient
.gradient-040ffa {
  background: linear-gradient(135deg, #040ffa, #7404fa);
}
Colored shadow
.shadow-040ffa {
  box-shadow: 0 8px 24px rgb(4 15 250 / 0.35);
}

Blue
#040ffa  rgb(4, 15, 250)  hsl(237, 97%, 50%)  Blue
#faef04  rgb(250, 239, 4)  hsl(57, 97%, 50%)  Aureolin
#fa040f  rgb(250, 4, 15)  hsl(357, 97%, 50%)  Red
#0ffa04  rgb(15, 250, 4)  hsl(117, 97%, 50%)  Lime