#2F2FED

#2f2fed ≈ Han Purple

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

#2f2fed is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.43% red, 18.43% green and 92.94% blue; printed in CMYK it uses 80.17% cyan, 80.17% magenta, 0% yellow and 7.06% black. Its hue angle is 240°, with 84.07% saturation and 55.69% 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.64:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.95.

Description generated from the measured properties of this color.

Conversions of #2f2fed 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.0875

Readable text 7.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #4747a8 ≈ 0.001% of males
Protanopia #005df2 ≈ 1.01% of males
Deuteranopia #0049ea ≈ 1.27% of males
Tritanopia #006c90 ≈ 0.0001% of males
Protanomaly #004ef0 ≈ 1.08% of males
Deuteranomaly #0040eb ≈ 4.63% of males
Tritanomaly #0059bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f2fed {
  color: #2f2fed;
}
Background
.bg-2f2fed {
  background-color: #2f2fed;
  color: #ffffff;
}
Border
.border-2f2fed {
  border: 2px solid #2f2fed;
}
CSS variables
:root {
  --color-primary: #2f2fed;
  --color-primary-rgb: 47 47 237;
  --color-primary-hsl: 240 84% 56%;
}
Gradient
.gradient-2f2fed {
  background: linear-gradient(135deg, #2f2fed, #8e2fed);
}
Colored shadow
.shadow-2f2fed {
  box-shadow: 0 8px 24px rgb(47 47 237 / 0.35);
}

Han Purple
#2f2fed  rgb(47, 47, 237)  hsl(240, 84%, 56%)  Han Purple
#eded2f  rgb(237, 237, 47)  hsl(60, 84%, 56%)  Titanium Yellow
#ed2f2f  rgb(237, 47, 47)  hsl(0, 84%, 56%)  Cinnabar
#2fed2f  rgb(47, 237, 47)  hsl(120, 84%, 56%)  Lime