#2F38FF

#2f38ff ≈ Han Purple

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

#2f38ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 21.96% green and 100% blue; printed in CMYK it uses 81.57% cyan, 78.04% magenta, 0% yellow and 0% black. Its hue angle is 237.4°, with 100% saturation and 59.22% 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.71:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 4.88.

Description generated from the measured properties of this color.

Conversions of #2f38ff 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.1065

Readable text 6.71:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.13:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #4e50b5 ≈ 0.001% of males
Protanopia #0066ff ≈ 1.01% of males
Deuteranopia #0051fc ≈ 1.27% of males
Tritanopia #00769c ≈ 0.0001% of males
Protanomaly #0057ff ≈ 1.08% of males
Deuteranomaly #0048fd ≈ 4.63% of males
Tritanomaly #0063cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#2f38ff  rgb(47, 56, 255)  hsl(237, 100%, 59%)  Han Purple
#fff62f  rgb(255, 246, 47)  hsl(57, 100%, 59%)  Cadmium Yellow
#ff2f38  rgb(255, 47, 56)  hsl(357, 100%, 59%)  Tractor Red
#38ff2f  rgb(56, 255, 47)  hsl(117, 100%, 59%)  Neon Green