#2004CD

#2004cd ≈ Medium Blue

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

#2004cd is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.55% red, 1.57% green and 80.39% blue; printed in CMYK it uses 84.39% cyan, 98.05% magenta, 0% yellow and 19.61% black. Its hue angle is 248.36°, with 96.17% saturation and 40.98% 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.71:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.04.

Description generated from the measured properties of this color.

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

Readable text 10.71:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #34308f ≈ 0.001% of males
Protanopia #0047d2 ≈ 1.01% of males
Deuteranopia #0034ca ≈ 1.27% of males
Tritanopia #005578 ≈ 0.0001% of males
Protanomaly #0037d0 ≈ 1.08% of males
Deuteranomaly #0028cb ≈ 4.63% of males
Tritanomaly #0042a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2004cd {
  color: #2004cd;
}
Background
.bg-2004cd {
  background-color: #2004cd;
  color: #ffffff;
}
Border
.border-2004cd {
  border: 2px solid #2004cd;
}
CSS variables
:root {
  --color-primary: #2004cd;
  --color-primary-rgb: 32 4 205;
  --color-primary-hsl: 248 96% 41%;
}
Gradient
.gradient-2004cd {
  background: linear-gradient(135deg, #2004cd, #8504cd);
}
Colored shadow
.shadow-2004cd {
  box-shadow: 0 8px 24px rgb(32 4 205 / 0.35);
}

Medium Blue
#2004cd  rgb(32, 4, 205)  hsl(248, 96%, 41%)  Medium Blue
#b1cd04  rgb(177, 205, 4)  hsl(68, 96%, 41%)  Yellow Green
#cd2004  rgb(205, 32, 4)  hsl(8, 96%, 41%)  Rosso Corsa
#04cd20  rgb(4, 205, 32)  hsl(128, 96%, 41%)  Lime Green