#2A34FF

#2a34ff ≈ Han Purple

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

#2a34ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.47% red, 20.39% green and 100% blue; printed in CMYK it uses 83.53% cyan, 79.61% magenta, 0% yellow and 0% black. Its hue angle is 237.18°, with 100% saturation and 58.24% 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 6.92:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 4.35.

Description generated from the measured properties of this color.

Conversions of #2a34ff 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.1017

Readable text 6.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.03:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5a5a5a ≈ 0.003% of males
Achromatomaly #4b4db5 ≈ 0.001% of males
Protanopia #0065ff ≈ 1.01% of males
Deuteranopia #004efc ≈ 1.27% of males
Tritanopia #00759b ≈ 0.0001% of males
Protanomaly #0055ff ≈ 1.08% of males
Deuteranomaly #0045fd ≈ 4.63% of males
Tritanomaly #0061cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a34ff {
  color: #2a34ff;
}
Background
.bg-2a34ff {
  background-color: #2a34ff;
  color: #ffffff;
}
Border
.border-2a34ff {
  border: 2px solid #2a34ff;
}
CSS variables
:root {
  --color-primary: #2a34ff;
  --color-primary-rgb: 42 52 255;
  --color-primary-hsl: 237 100% 58%;
}
Gradient
.gradient-2a34ff {
  background: linear-gradient(135deg, #2a34ff, #8b2aff);
}
Colored shadow
.shadow-2a34ff {
  box-shadow: 0 8px 24px rgb(42 52 255 / 0.35);
}

Han Purple
#2a34ff  rgb(42, 52, 255)  hsl(237, 100%, 58%)  Han Purple
#fff52a  rgb(255, 245, 42)  hsl(57, 100%, 58%)  Cadmium Yellow
#ff2a34  rgb(255, 42, 52)  hsl(357, 100%, 58%)  Tractor Red
#34ff2a  rgb(52, 255, 42)  hsl(117, 100%, 58%)  Neon Green