#4062fa ≈ Ultramarine Blue
#4062fa is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 38.43% green and 98.04% blue; printed in CMYK it uses 74.4% cyan, 60.8% magenta, 0% yellow and 1.96% black. Its hue angle is 229.03°, with 94.9% saturation and 61.57% 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 4.83:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 1.39.
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.1673 |
Shades
#4062fa mixed progressively with black.
Tints
#4062fa mixed progressively with white.
Tones
#4062fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4062fa {
color: #4062fa;
}
.bg-4062fa {
background-color: #4062fa;
color: #ffffff;
}
.border-4062fa {
border: 2px solid #4062fa;
}
:root {
--color-primary: #4062fa;
--color-primary-rgb: 64 98 250;
--color-primary-hsl: 229 95% 62%;
}
.gradient-4062fa {
background: linear-gradient(135deg, #4062fa, #7b40fa);
}
.shadow-4062fa {
box-shadow: 0 8px 24px rgb(64 98 250 / 0.35);
}
Ultramarine Blue
#4062fa rgb(64, 98, 250) hsl(229, 95%, 62%) Ultramarine Blue
#fad840 rgb(250, 216, 64) hsl(49, 95%, 62%) Mustard
#fa4062 rgb(250, 64, 98) hsl(349, 95%, 62%) Neon Fuchsia
#62fa40 rgb(98, 250, 64) hsl(109, 95%, 62%) Neon Green