#2F38E8

#2f38e8 ≈ Han Purple

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

#2f38e8 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.43% red, 21.96% green and 90.98% blue; printed in CMYK it uses 79.74% cyan, 75.86% magenta, 0% yellow and 9.02% black. Its hue angle is 237.08°, with 80.09% saturation and 54.71% 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.36:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.32.

Description generated from the measured properties of this color.

Conversions of #2f38e8 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.0926

Readable text 7.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #494ca5 ≈ 0.001% of males
Protanopia #005fed ≈ 1.01% of males
Deuteranopia #004ce5 ≈ 1.27% of males
Tritanopia #006d8f ≈ 0.0001% of males
Protanomaly #0052eb ≈ 1.08% of males
Deuteranomaly #0045e6 ≈ 4.63% of males
Tritanomaly #005cb9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#2f38e8  rgb(47, 56, 232)  hsl(237, 80%, 55%)  Han Purple
#e8df2f  rgb(232, 223, 47)  hsl(57, 80%, 55%)  Dandelion
#e82f38  rgb(232, 47, 56)  hsl(357, 80%, 55%)  Tractor Red
#38e82f  rgb(56, 232, 47)  hsl(117, 80%, 55%)  Lime