#2831FF

#2831ff ≈ Han Purple

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

#2831ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 15.69% red, 19.22% green and 100% blue; printed in CMYK it uses 84.31% cyan, 80.78% magenta, 0% yellow and 0% black. Its hue angle is 237.49°, with 100% saturation and 57.84% 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.06:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.97.

Description generated from the measured properties of this color.

Conversions of #2831ff 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.0987

Readable text 7.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #4a4cb4 ≈ 0.001% of males
Protanopia #0063ff ≈ 1.01% of males
Deuteranopia #004dfc ≈ 1.27% of males
Tritanopia #00749a ≈ 0.0001% of males
Protanomaly #0054ff ≈ 1.08% of males
Deuteranomaly #0043fd ≈ 4.63% of males
Tritanomaly #0060cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#2831ff  rgb(40, 49, 255)  hsl(237, 100%, 58%)  Han Purple
#fff628  rgb(255, 246, 40)  hsl(57, 100%, 58%)  Cadmium Yellow
#ff2831  rgb(255, 40, 49)  hsl(357, 100%, 58%)  Tractor Red
#31ff28  rgb(49, 255, 40)  hsl(117, 100%, 58%)  Neon Green