#305ff2 ≈ Ultramarine Blue
#305ff2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.82% red, 37.25% green and 94.9% blue; printed in CMYK it uses 80.17% cyan, 60.74% magenta, 0% yellow and 5.1% black. Its hue angle is 225.46°, with 88.18% saturation and 56.86% 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.19:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 2.6.
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.1522 |
Shades
#305ff2 mixed progressively with black.
Tints
#305ff2 mixed progressively with white.
Tones
#305ff2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-305ff2 {
color: #305ff2;
}
.bg-305ff2 {
background-color: #305ff2;
color: #ffffff;
}
.border-305ff2 {
border: 2px solid #305ff2;
}
:root {
--color-primary: #305ff2;
--color-primary-rgb: 48 95 242;
--color-primary-hsl: 225 88% 57%;
}
.gradient-305ff2 {
background: linear-gradient(135deg, #305ff2, #6230f2);
}
.shadow-305ff2 {
box-shadow: 0 8px 24px rgb(48 95 242 / 0.35);
}
Ultramarine Blue
#305ff2 rgb(48, 95, 242) hsl(225, 88%, 57%) Ultramarine Blue
#f2c330 rgb(242, 195, 48) hsl(45, 88%, 57%) Saffron
#f2305f rgb(242, 48, 95) hsl(345, 88%, 57%) Folly
#5ff230 rgb(95, 242, 48) hsl(105, 88%, 57%) Neon Green