#2D2CFA

#2d2cfa ≈ Han Purple

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

#2d2cfa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 17.65% red, 17.25% green and 98.04% blue; printed in CMYK it uses 82% cyan, 82.4% magenta, 0% yellow and 1.96% black. Its hue angle is 240.29°, with 95.37% saturation and 57.65% 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 7.36:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.25.

Description generated from the measured properties of this color.

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

Readable text 7.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #4948b1 ≈ 0.001% of males
Protanopia #0060ff ≈ 1.01% of males
Deuteranopia #004bf7 ≈ 1.27% of males
Tritanopia #007097 ≈ 0.0001% of males
Protanomaly #0050fd ≈ 1.08% of males
Deuteranomaly #0040f8 ≈ 4.63% of males
Tritanomaly #005cc6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d2cfa {
  color: #2d2cfa;
}
Background
.bg-2d2cfa {
  background-color: #2d2cfa;
  color: #ffffff;
}
Border
.border-2d2cfa {
  border: 2px solid #2d2cfa;
}
CSS variables
:root {
  --color-primary: #2d2cfa;
  --color-primary-rgb: 45 44 250;
  --color-primary-hsl: 240 95% 58%;
}
Gradient
.gradient-2d2cfa {
  background: linear-gradient(135deg, #2d2cfa, #942cfa);
}
Colored shadow
.shadow-2d2cfa {
  box-shadow: 0 8px 24px rgb(45 44 250 / 0.35);
}

Han Purple
#2d2cfa  rgb(45, 44, 250)  hsl(240, 95%, 58%)  Han Purple
#f9fa2c  rgb(249, 250, 44)  hsl(60, 95%, 58%)  Daffodil
#fa2d2c  rgb(250, 45, 44)  hsl(0, 95%, 58%)  Cinnabar
#2cfa2d  rgb(44, 250, 45)  hsl(120, 95%, 58%)  Lime