#331fdf ≈ Blue
#331fdf 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 87.45% blue; printed in CMYK it uses 77.13% cyan, 86.1% magenta, 0% yellow and 12.55% black. Its hue angle is 246.25°, with 75.59% saturation and 49.8% 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 brand accents. White text on this color reaches a contrast ratio of 8.74:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.38.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0701 |
Shades
#331fdf mixed progressively with black.
Tints
#331fdf mixed progressively with white.
Tones
#331fdf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331fdf {
color: #331fdf;
}
.bg-331fdf {
background-color: #331fdf;
color: #ffffff;
}
.border-331fdf {
border: 2px solid #331fdf;
}
:root {
--color-primary: #331fdf;
--color-primary-rgb: 51 31 223;
--color-primary-hsl: 246 76% 50%;
}
.gradient-331fdf {
background: linear-gradient(135deg, #331fdf, #931fdf);
}
.shadow-331fdf {
box-shadow: 0 8px 24px rgb(51 31 223 / 0.35);
}
Blue
#331fdf rgb(51, 31, 223) hsl(246, 76%, 50%) Blue
#cbdf1f rgb(203, 223, 31) hsl(66, 76%, 50%) Pear
#df331f rgb(223, 51, 31) hsl(6, 76%, 50%) Lust
#1fdf33 rgb(31, 223, 51) hsl(126, 76%, 50%) Malachite