#405af6 ≈ Ultramarine Blue
#405af6 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 35.29% green and 96.47% blue; printed in CMYK it uses 73.98% cyan, 63.41% magenta, 0% yellow and 3.53% black. Its hue angle is 231.43°, with 91% saturation and 60.78% 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 5.24:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.79.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3366ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1506 |
Shades
#405af6 mixed progressively with black.
Tints
#405af6 mixed progressively with white.
Tones
#405af6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-405af6 {
color: #405af6;
}
.bg-405af6 {
background-color: #405af6;
color: #ffffff;
}
.border-405af6 {
border: 2px solid #405af6;
}
:root {
--color-primary: #405af6;
--color-primary-rgb: 64 90 246;
--color-primary-hsl: 231 91% 61%;
}
.gradient-405af6 {
background: linear-gradient(135deg, #405af6, #8140f6);
}
.shadow-405af6 {
box-shadow: 0 8px 24px rgb(64 90 246 / 0.35);
}
Ultramarine Blue
#405af6 rgb(64, 90, 246) hsl(231, 91%, 61%) Ultramarine Blue
#f6dc40 rgb(246, 220, 64) hsl(51, 91%, 61%) Banana Yellow
#f6405a rgb(246, 64, 90) hsl(351, 91%, 61%) Neon Fuchsia
#5af640 rgb(90, 246, 64) hsl(111, 91%, 61%) Neon Green