#1D2AFF

#1d2aff ≈ Han Purple

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

#1d2aff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 11.37% red, 16.47% green and 100% blue; printed in CMYK it uses 88.63% cyan, 83.53% magenta, 0% yellow and 0% black. Its hue angle is 236.55°, with 100% saturation and 55.69% 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.43:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.53.

Description generated from the measured properties of this color.

Conversions of #1d2aff 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.0914

Readable text 7.43:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.83:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #4548b4 ≈ 0.001% of males
Protanopia #0061ff ≈ 1.01% of males
Deuteranopia #0049fc ≈ 1.27% of males
Tritanopia #007299 ≈ 0.0001% of males
Protanomaly #0050ff ≈ 1.08% of males
Deuteranomaly #003ffd ≈ 4.63% of males
Tritanomaly #005dca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#1d2aff  rgb(29, 42, 255)  hsl(237, 100%, 56%)  Han Purple
#fff21d  rgb(255, 242, 29)  hsl(57, 100%, 56%)  Canary Yellow
#ff1d2a  rgb(255, 29, 42)  hsl(357, 100%, 56%)  Tractor Red
#2aff1d  rgb(42, 255, 29)  hsl(117, 100%, 56%)  Neon Green