#162DFF

#162dff ≈ Han Purple

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

#162dff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 8.63% red, 17.65% green and 100% blue; printed in CMYK it uses 91.37% cyan, 82.35% magenta, 0% yellow and 0% black. Its hue angle is 234.08°, with 100% saturation and 54.31% 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 3.94.

Description generated from the measured properties of this color.

Conversions of #162dff into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0033ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0927

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 #4549b4 ≈ 0.001% of males
Protanopia #0061ff ≈ 1.01% of males
Deuteranopia #0049fc ≈ 1.27% of males
Tritanopia #00739a ≈ 0.0001% of males
Protanomaly #0051ff ≈ 1.08% of males
Deuteranomaly #0040fd ≈ 4.63% of males
Tritanomaly #005fca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-162dff {
  color: #162dff;
}
Background
.bg-162dff {
  background-color: #162dff;
  color: #ffffff;
}
Border
.border-162dff {
  border: 2px solid #162dff;
}
CSS variables
:root {
  --color-primary: #162dff;
  --color-primary-rgb: 22 45 255;
  --color-primary-hsl: 234 100% 54%;
}
Gradient
.gradient-162dff {
  background: linear-gradient(135deg, #162dff, #7316ff);
}
Colored shadow
.shadow-162dff {
  box-shadow: 0 8px 24px rgb(22 45 255 / 0.35);
}

Han Purple
#162dff  rgb(22, 45, 255)  hsl(234, 100%, 54%)  Han Purple
#ffe816  rgb(255, 232, 22)  hsl(54, 100%, 54%)  Canary Yellow
#ff162d  rgb(255, 22, 45)  hsl(354, 100%, 54%)  Tractor Red
#2dff16  rgb(45, 255, 22)  hsl(114, 100%, 54%)  Neon Green