#1a2aff ≈ Han Purple
#1a2aff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 10.2% red, 16.47% green and 100% blue; printed in CMYK it uses 89.8% cyan, 83.53% magenta, 0% yellow and 0% black. Its hue angle is 235.81°, with 100% saturation and 55.1% 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.45:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.6.
Description generated from the measured properties of this color.
| 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 luminance | 0.091 |
Shades
#1a2aff mixed progressively with black.
Tints
#1a2aff mixed progressively with white.
Tones
#1a2aff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1a2aff {
color: #1a2aff;
}
.bg-1a2aff {
background-color: #1a2aff;
color: #ffffff;
}
.border-1a2aff {
border: 2px solid #1a2aff;
}
:root {
--color-primary: #1a2aff;
--color-primary-rgb: 26 42 255;
--color-primary-hsl: 236 100% 55%;
}
.gradient-1a2aff {
background: linear-gradient(135deg, #1a2aff, #7d1aff);
}
.shadow-1a2aff {
box-shadow: 0 8px 24px rgb(26 42 255 / 0.35);
}
Han Purple
#1a2aff rgb(26, 42, 255) hsl(236, 100%, 55%) Han Purple
#ffef1a rgb(255, 239, 26) hsl(56, 100%, 55%) Canary Yellow
#ff1a2a rgb(255, 26, 42) hsl(356, 100%, 55%) Tractor Red
#2aff1a rgb(42, 255, 26) hsl(116, 100%, 55%) Neon Green