#335afb ≈ Ultramarine Blue
#335afb is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 35.29% green and 98.43% blue; printed in CMYK it uses 79.68% cyan, 64.14% magenta, 0% yellow and 1.57% black. Its hue angle is 228.3°, with 96.15% saturation and 59.22% 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.25:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.7.
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.1498 |
Shades
#335afb mixed progressively with black.
Tints
#335afb mixed progressively with white.
Tones
#335afb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-335afb {
color: #335afb;
}
.bg-335afb {
background-color: #335afb;
color: #ffffff;
}
.border-335afb {
border: 2px solid #335afb;
}
:root {
--color-primary: #335afb;
--color-primary-rgb: 51 90 251;
--color-primary-hsl: 228 96% 59%;
}
.gradient-335afb {
background: linear-gradient(135deg, #335afb, #7033fb);
}
.shadow-335afb {
box-shadow: 0 8px 24px rgb(51 90 251 / 0.35);
}
Ultramarine Blue
#335afb rgb(51, 90, 251) hsl(228, 96%, 59%) Ultramarine Blue
#fbd433 rgb(251, 212, 51) hsl(48, 96%, 59%) Cyber Yellow
#fb335a rgb(251, 51, 90) hsl(348, 96%, 59%) Neon Fuchsia
#5afb33 rgb(90, 251, 51) hsl(108, 96%, 59%) Neon Green