#0252ff ≈ Ultramarine Blue
#0252ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0.78% red, 32.16% green and 100% blue; printed in CMYK it uses 99.22% cyan, 67.84% magenta, 0% yellow and 0% black. Its hue angle is 221.03°, with 100% saturation and 50.39% 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.75:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 6.17.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0066ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1327 |
Shades
#0252ff mixed progressively with black.
Tints
#0252ff mixed progressively with white.
Tones
#0252ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0252ff {
color: #0252ff;
}
.bg-0252ff {
background-color: #0252ff;
color: #ffffff;
}
.border-0252ff {
border: 2px solid #0252ff;
}
:root {
--color-primary: #0252ff;
--color-primary-rgb: 2 82 255;
--color-primary-hsl: 221 100% 50%;
}
.gradient-0252ff {
background: linear-gradient(135deg, #0252ff, #3102ff);
}
.shadow-0252ff {
box-shadow: 0 8px 24px rgb(2 82 255 / 0.35);
}
Ultramarine Blue
#0252ff rgb(2, 82, 255) hsl(221, 100%, 50%) Ultramarine Blue
#ffaf02 rgb(255, 175, 2) hsl(41, 100%, 50%) Orange
#ff0252 rgb(255, 2, 82) hsl(341, 100%, 50%) Folly
#52ff02 rgb(82, 255, 2) hsl(101, 100%, 50%) Harlequin