#0804F2

#0804f2 ≈ Blue

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

#0804f2 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 94.9% blue; printed in CMYK it uses 96.69% cyan, 98.35% magenta, 0% yellow and 5.1% black. Its hue angle is 241.01°, with 96.75% saturation and 48.24% 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 9.09:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 1.49.

Description generated from the measured properties of this color.

Conversions of #0804f2 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.0655

Readable text 9.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #484848 ≈ 0.003% of males
Achromatomaly #3938a9 ≈ 0.001% of males
Protanopia #0054f7 ≈ 1.01% of males
Deuteranopia #003bef ≈ 1.27% of males
Tritanopia #00668e ≈ 0.0001% of males
Protanomaly #0042f5 ≈ 1.08% of males
Deuteranomaly #002df0 ≈ 4.63% of males
Tritanomaly #0050be ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#0804f2  rgb(8, 4, 242)  hsl(241, 97%, 48%)  Blue
#eef204  rgb(238, 242, 4)  hsl(61, 97%, 48%)  Daffodil
#f20804  rgb(242, 8, 4)  hsl(1, 97%, 48%)  Red
#04f208  rgb(4, 242, 8)  hsl(121, 97%, 48%)  Lime