#0804DF

#0804df ≈ Medium Blue

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

#0804df 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 87.45% blue; printed in CMYK it uses 96.41% cyan, 98.21% magenta, 0% yellow and 12.55% black. Its hue angle is 241.1°, with 96.48% saturation and 44.51% 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 10.03:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.5.

Description generated from the measured properties of this color.

Conversions of #0804df into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0000cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0547

Readable text 10.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.09:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #424242 ≈ 0.003% of males
Achromatomaly #34339b ≈ 0.001% of males
Protanopia #004de4 ≈ 1.01% of males
Deuteranopia #0036dc ≈ 1.27% of males
Tritanopia #005d83 ≈ 0.0001% of males
Protanomaly #003ce2 ≈ 1.08% of males
Deuteranomaly #0029dd ≈ 4.63% of males
Tritanomaly #0049af ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#0804df  rgb(8, 4, 223)  hsl(241, 96%, 45%)  Medium Blue
#dbdf04  rgb(219, 223, 4)  hsl(61, 96%, 45%)  Titanium Yellow
#df0804  rgb(223, 8, 4)  hsl(1, 96%, 45%)  Rosso Corsa
#04df08  rgb(4, 223, 8)  hsl(121, 96%, 45%)  Lime Green