#0f5afc ≈ Ultramarine Blue
#0f5afc is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 5.88% red, 35.29% green and 98.82% blue; printed in CMYK it uses 94.05% cyan, 64.29% magenta, 0% yellow and 1.18% black. Its hue angle is 221.01°, with 97.53% saturation and 52.35% 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.4:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 4.12.
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.1444 |
Shades
#0f5afc mixed progressively with black.
Tints
#0f5afc mixed progressively with white.
Tones
#0f5afc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0f5afc {
color: #0f5afc;
}
.bg-0f5afc {
background-color: #0f5afc;
color: #ffffff;
}
.border-0f5afc {
border: 2px solid #0f5afc;
}
:root {
--color-primary: #0f5afc;
--color-primary-rgb: 15 90 252;
--color-primary-hsl: 221 98% 52%;
}
.gradient-0f5afc {
background: linear-gradient(135deg, #0f5afc, #3a0ffc);
}
.shadow-0f5afc {
box-shadow: 0 8px 24px rgb(15 90 252 / 0.35);
}
Ultramarine Blue
#0f5afc rgb(15, 90, 252) hsl(221, 98%, 52%) Ultramarine Blue
#fcb10f rgb(252, 177, 15) hsl(41, 98%, 52%) Orange
#fc0f5a rgb(252, 15, 90) hsl(341, 98%, 52%) Folly
#5afc0f rgb(90, 252, 15) hsl(101, 98%, 52%) Harlequin