#2C2DEF

#2c2def ≈ Han Purple

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

#2c2def is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 17.25% red, 17.65% green and 93.73% blue; printed in CMYK it uses 81.59% cyan, 81.17% magenta, 0% yellow and 6.27% black. Its hue angle is 239.69°, with 85.9% saturation and 55.49% 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.7:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.8.

Description generated from the measured properties of this color.

Conversions of #2c2def 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.0864

Readable text 7.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #4647a9 ≈ 0.001% of males
Protanopia #005df4 ≈ 1.01% of males
Deuteranopia #0048ec ≈ 1.27% of males
Tritanopia #006c90 ≈ 0.0001% of males
Protanomaly #004ef2 ≈ 1.08% of males
Deuteranomaly #003fed ≈ 4.63% of males
Tritanomaly #0059be ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#2c2def  rgb(44, 45, 239)  hsl(240, 86%, 55%)  Han Purple
#efee2c  rgb(239, 238, 44)  hsl(60, 86%, 55%)  Titanium Yellow
#ef2c2d  rgb(239, 44, 45)  hsl(360, 86%, 55%)  Cinnabar
#2def2c  rgb(45, 239, 44)  hsl(120, 86%, 55%)  Lime