#2004D2

#2004d2 ≈ Medium Blue

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

#2004d2 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 82.35% blue; printed in CMYK it uses 84.76% cyan, 98.1% magenta, 0% yellow and 17.65% black. Its hue angle is 248.16°, with 96.26% saturation and 41.96% 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.45:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.45.

Description generated from the measured properties of this color.

Conversions of #2004d2 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.0505

Readable text 10.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.01:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3f3f3f ≈ 0.003% of males
Achromatomaly #353192 ≈ 0.001% of males
Protanopia #0049d7 ≈ 1.01% of males
Deuteranopia #0035cf ≈ 1.27% of males
Tritanopia #00577b ≈ 0.0001% of males
Protanomaly #0039d5 ≈ 1.08% of males
Deuteranomaly #0029d0 ≈ 4.63% of males
Tritanomaly #0044a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#2004d2  rgb(32, 4, 210)  hsl(248, 96%, 42%)  Medium Blue
#b6d204  rgb(182, 210, 4)  hsl(68, 96%, 42%)  Pear
#d22004  rgb(210, 32, 4)  hsl(8, 96%, 42%)  Rosso Corsa
#04d220  rgb(4, 210, 32)  hsl(128, 96%, 42%)  Lime Green