#0804DC

#0804dc ≈ Medium Blue

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

#0804dc 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 86.27% blue; printed in CMYK it uses 96.36% cyan, 98.18% magenta, 0% yellow and 13.73% black. Its hue angle is 241.11°, with 96.43% saturation and 43.92% 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.19:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.12.

Description generated from the measured properties of this color.

Conversions of #0804dc 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.0531

Readable text 10.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.06:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #333299 ≈ 0.001% of males
Protanopia #004ce1 ≈ 1.01% of males
Deuteranopia #0035d9 ≈ 1.27% of males
Tritanopia #005c81 ≈ 0.0001% of males
Protanomaly #003bdf ≈ 1.08% of males
Deuteranomaly #0029da ≈ 4.63% of males
Tritanomaly #0048ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#0804dc  rgb(8, 4, 220)  hsl(241, 96%, 44%)  Medium Blue
#d8dc04  rgb(216, 220, 4)  hsl(61, 96%, 44%)  Pear
#dc0804  rgb(220, 8, 4)  hsl(1, 96%, 44%)  Rosso Corsa
#04dc08  rgb(4, 220, 8)  hsl(121, 96%, 44%)  Lime Green