#2D21CE

#2d21ce ≈ Medium Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#2d21ce is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 17.65% red, 12.94% green and 80.78% blue; printed in CMYK it uses 78.16% cyan, 83.98% magenta, 0% yellow and 19.22% black. Its hue angle is 244.16°, with 72.38% saturation and 46.86% 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 brand accents. White text on this color reaches a contrast ratio of 9.46:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.

Description generated from the measured properties of this color.

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

Readable text 9.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.22:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #464646 ≈ 0.003% of males
Achromatomaly #3d3a91 ≈ 0.001% of males
Protanopia #004ed3 ≈ 1.01% of males
Deuteranopia #003dcb ≈ 1.27% of males
Tritanopia #005a7b ≈ 0.0001% of males
Protanomaly #0040d1 ≈ 1.08% of males
Deuteranomaly #0034cc ≈ 4.63% of males
Tritanomaly #004aa3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d21ce {
  color: #2d21ce;
}
Background
.bg-2d21ce {
  background-color: #2d21ce;
  color: #ffffff;
}
Border
.border-2d21ce {
  border: 2px solid #2d21ce;
}
CSS variables
:root {
  --color-primary: #2d21ce;
  --color-primary-rgb: 45 33 206;
  --color-primary-hsl: 244 72% 47%;
}
Gradient
.gradient-2d21ce {
  background: linear-gradient(135deg, #2d21ce, #8321ce);
}
Colored shadow
.shadow-2d21ce {
  box-shadow: 0 8px 24px rgb(45 33 206 / 0.35);
}

Medium Blue
#2d21ce  rgb(45, 33, 206)  hsl(244, 72%, 47%)  Medium Blue
#c2ce21  rgb(194, 206, 33)  hsl(64, 72%, 47%)  Pear
#ce2d21  rgb(206, 45, 33)  hsl(4, 72%, 47%)  Lava
#21ce2d  rgb(33, 206, 45)  hsl(124, 72%, 47%)  Lime Green