#0407FF

#0407ff ≈ Blue

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

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

Description generated from the measured properties of this color.

Conversions of #0407ff 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.074

Readable text 8.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #3c3cb2 ≈ 0.001% of males
Protanopia #0059ff ≈ 1.01% of males
Deuteranopia #003ffb ≈ 1.27% of males
Tritanopia #006c96 ≈ 0.0001% of males
Protanomaly #0046ff ≈ 1.08% of males
Deuteranomaly #0031fd ≈ 4.63% of males
Tritanomaly #0055c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#0407ff  rgb(4, 7, 255)  hsl(239, 100%, 51%)  Blue
#fffc04  rgb(255, 252, 4)  hsl(59, 100%, 51%)  Yellow
#ff0407  rgb(255, 4, 7)  hsl(359, 100%, 51%)  Red
#07ff04  rgb(7, 255, 4)  hsl(119, 100%, 51%)  Lime