#2F34F2

#2f34f2 ≈ Han Purple

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

#2f34f2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 20.39% green and 94.9% blue; printed in CMYK it uses 80.58% cyan, 78.51% magenta, 0% yellow and 5.1% black. Its hue angle is 238.46°, with 88.24% saturation and 56.67% 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.26:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.31.

Description generated from the measured properties of this color.

Conversions of #2f34f2 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.0947

Readable text 7.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.89:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #4a4bac ≈ 0.001% of males
Protanopia #0061f7 ≈ 1.01% of males
Deuteranopia #004cef ≈ 1.27% of males
Tritanopia #007093 ≈ 0.0001% of males
Protanomaly #0052f5 ≈ 1.08% of males
Deuteranomaly #0044f0 ≈ 4.63% of males
Tritanomaly #005dc1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f34f2 {
  color: #2f34f2;
}
Background
.bg-2f34f2 {
  background-color: #2f34f2;
  color: #ffffff;
}
Border
.border-2f34f2 {
  border: 2px solid #2f34f2;
}
CSS variables
:root {
  --color-primary: #2f34f2;
  --color-primary-rgb: 47 52 242;
  --color-primary-hsl: 238 88% 57%;
}
Gradient
.gradient-2f34f2 {
  background: linear-gradient(135deg, #2f34f2, #8c2ff2);
}
Colored shadow
.shadow-2f34f2 {
  box-shadow: 0 8px 24px rgb(47 52 242 / 0.35);
}

Han Purple
#2f34f2  rgb(47, 52, 242)  hsl(238, 88%, 57%)  Han Purple
#f2ed2f  rgb(242, 237, 47)  hsl(58, 88%, 57%)  Titanium Yellow
#f22f34  rgb(242, 47, 52)  hsl(358, 88%, 57%)  Tractor Red
#34f22f  rgb(52, 242, 47)  hsl(118, 88%, 57%)  Lime