#331ffa ≈ Ultramarine
#331ffa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 12.16% green and 98.04% blue; printed in CMYK it uses 79.6% cyan, 87.6% magenta, 0% yellow and 1.96% black. Its hue angle is 245.48°, with 95.63% saturation and 55.1% 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.73:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.97.
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.0859 |
Shades
#331ffa mixed progressively with black.
Tints
#331ffa mixed progressively with white.
Tones
#331ffa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331ffa {
color: #331ffa;
}
.bg-331ffa {
background-color: #331ffa;
color: #ffffff;
}
.border-331ffa {
border: 2px solid #331ffa;
}
:root {
--color-primary: #331ffa;
--color-primary-rgb: 51 31 250;
--color-primary-hsl: 245 96% 55%;
}
.gradient-331ffa {
background: linear-gradient(135deg, #331ffa, #a11ffa);
}
.shadow-331ffa {
box-shadow: 0 8px 24px rgb(51 31 250 / 0.35);
}
Ultramarine
#331ffa rgb(51, 31, 250) hsl(245, 96%, 55%) Ultramarine
#e6fa1f rgb(230, 250, 31) hsl(65, 96%, 55%) Lemon Lime
#fa331f rgb(250, 51, 31) hsl(5, 96%, 55%) Candy Apple Red
#1ffa33 rgb(31, 250, 51) hsl(125, 96%, 55%) Lime