#331afb ≈ Ultramarine
#331afb is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 10.2% green and 98.43% blue; printed in CMYK it uses 79.68% cyan, 89.64% magenta, 0% yellow and 1.57% black. Its hue angle is 246.67°, with 96.57% saturation and 54.31% 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 7.83:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.53.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0841 |
Shades
#331afb mixed progressively with black.
Tints
#331afb mixed progressively with white.
Tones
#331afb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331afb {
color: #331afb;
}
.bg-331afb {
background-color: #331afb;
color: #ffffff;
}
.border-331afb {
border: 2px solid #331afb;
}
:root {
--color-primary: #331afb;
--color-primary-rgb: 51 26 251;
--color-primary-hsl: 247 97% 54%;
}
.gradient-331afb {
background: linear-gradient(135deg, #331afb, #a41afb);
}
.shadow-331afb {
box-shadow: 0 8px 24px rgb(51 26 251 / 0.35);
}
Ultramarine
#331afb rgb(51, 26, 251) hsl(247, 97%, 54%) Ultramarine
#e2fb1a rgb(226, 251, 26) hsl(67, 97%, 54%) Lemon Lime
#fb331a rgb(251, 51, 26) hsl(7, 97%, 54%) Scarlet
#1afb33 rgb(26, 251, 51) hsl(127, 97%, 54%) Lime