#2A38EE

#2a38ee ≈ Han Purple

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

#2a38ee is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.47% red, 21.96% green and 93.33% blue; printed in CMYK it uses 82.35% cyan, 76.47% magenta, 0% yellow and 6.67% black. Its hue angle is 235.71°, with 85.22% saturation and 54.9% 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.24:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.23.

Description generated from the measured properties of this color.

Conversions of #2a38ee 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.0949

Readable text 7.24:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.9:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #494ca9 ≈ 0.001% of males
Protanopia #0061f3 ≈ 1.01% of males
Deuteranopia #004deb ≈ 1.27% of males
Tritanopia #007092 ≈ 0.0001% of males
Protanomaly #0053f1 ≈ 1.08% of males
Deuteranomaly #0045ec ≈ 4.63% of males
Tritanomaly #005ebe ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a38ee {
  color: #2a38ee;
}
Background
.bg-2a38ee {
  background-color: #2a38ee;
  color: #ffffff;
}
Border
.border-2a38ee {
  border: 2px solid #2a38ee;
}
CSS variables
:root {
  --color-primary: #2a38ee;
  --color-primary-rgb: 42 56 238;
  --color-primary-hsl: 236 85% 55%;
}
Gradient
.gradient-2a38ee {
  background: linear-gradient(135deg, #2a38ee, #7e2aee);
}
Colored shadow
.shadow-2a38ee {
  box-shadow: 0 8px 24px rgb(42 56 238 / 0.35);
}

Han Purple
#2a38ee  rgb(42, 56, 238)  hsl(236, 85%, 55%)  Han Purple
#eee02a  rgb(238, 224, 42)  hsl(56, 85%, 55%)  Dandelion
#ee2a38  rgb(238, 42, 56)  hsl(356, 85%, 55%)  Tractor Red
#38ee2a  rgb(56, 238, 42)  hsl(116, 85%, 55%)  Neon Green