#0804FF

#0804ff ≈ Blue

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

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

Description generated from the measured properties of this color.

Conversions of #0804ff 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.0736

Readable text 8.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.47: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 #003efb ≈ 1.27% of males
Tritanopia #006c96 ≈ 0.0001% of males
Protanomaly #0046ff ≈ 1.08% of males
Deuteranomaly #0030fd ≈ 4.63% of males
Tritanomaly #0054c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#0804ff  rgb(8, 4, 255)  hsl(241, 100%, 51%)  Blue
#fbff04  rgb(251, 255, 4)  hsl(61, 100%, 51%)  Yellow
#ff0804  rgb(255, 8, 4)  hsl(1, 100%, 51%)  Red
#04ff08  rgb(4, 255, 8)  hsl(121, 100%, 51%)  Lime