#335af6 ≈ Ultramarine Blue
#335af6 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 96.47% blue; printed in CMYK it uses 79.27% cyan, 63.41% magenta, 0% yellow and 3.53% black. Its hue angle is 228°, with 91.55% saturation and 58.24% 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.34:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.78.
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.1467 |
Shades
#335af6 mixed progressively with black.
Tints
#335af6 mixed progressively with white.
Tones
#335af6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-335af6 {
color: #335af6;
}
.bg-335af6 {
background-color: #335af6;
color: #ffffff;
}
.border-335af6 {
border: 2px solid #335af6;
}
:root {
--color-primary: #335af6;
--color-primary-rgb: 51 90 246;
--color-primary-hsl: 228 92% 58%;
}
.gradient-335af6 {
background: linear-gradient(135deg, #335af6, #6e33f6);
}
.shadow-335af6 {
box-shadow: 0 8px 24px rgb(51 90 246 / 0.35);
}
Ultramarine Blue
#335af6 rgb(51, 90, 246) hsl(228, 92%, 58%) Ultramarine Blue
#f6cf33 rgb(246, 207, 51) hsl(48, 92%, 58%) Jonquil
#f6335a rgb(246, 51, 90) hsl(348, 92%, 58%) Folly
#5af633 rgb(90, 246, 51) hsl(108, 92%, 58%) Neon Green