#2a5afa ≈ Ultramarine Blue
#2a5afa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.47% red, 35.29% green and 98.04% blue; printed in CMYK it uses 83.2% cyan, 64% magenta, 0% yellow and 1.96% black. Its hue angle is 226.15°, with 95.41% saturation and 57.25% 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.33:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.8.
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.1471 |
Shades
#2a5afa mixed progressively with black.
Tints
#2a5afa mixed progressively with white.
Tones
#2a5afa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a5afa {
color: #2a5afa;
}
.bg-2a5afa {
background-color: #2a5afa;
color: #ffffff;
}
.border-2a5afa {
border: 2px solid #2a5afa;
}
:root {
--color-primary: #2a5afa;
--color-primary-rgb: 42 90 250;
--color-primary-hsl: 226 95% 57%;
}
.gradient-2a5afa {
background: linear-gradient(135deg, #2a5afa, #622afa);
}
.shadow-2a5afa {
box-shadow: 0 8px 24px rgb(42 90 250 / 0.35);
}
Ultramarine Blue
#2a5afa rgb(42, 90, 250) hsl(226, 95%, 57%) Ultramarine Blue
#faca2a rgb(250, 202, 42) hsl(46, 95%, 57%) Sunglow
#fa2a5a rgb(250, 42, 90) hsl(346, 95%, 57%) Folly
#5afa2a rgb(90, 250, 42) hsl(106, 95%, 57%) Harlequin