#340bef ≈ Blue
#340bef is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 20.39% red, 4.31% green and 93.73% blue; printed in CMYK it uses 78.24% cyan, 95.4% magenta, 0% yellow and 6.27% black. Its hue angle is 250.79°, with 91.2% saturation and 49.02% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 8.61:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 1.76.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3300ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.072 |
Shades
#340bef mixed progressively with black.
Tints
#340bef mixed progressively with white.
Tones
#340bef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340bef {
color: #340bef;
}
.bg-340bef {
background-color: #340bef;
color: #ffffff;
}
.border-340bef {
border: 2px solid #340bef;
}
:root {
--color-primary: #340bef;
--color-primary-rgb: 52 11 239;
--color-primary-hsl: 251 91% 49%;
}
.gradient-340bef {
background: linear-gradient(135deg, #340bef, #a60bef);
}
.shadow-340bef {
box-shadow: 0 8px 24px rgb(52 11 239 / 0.35);
}
Blue
#340bef rgb(52, 11, 239) hsl(251, 91%, 49%) Blue
#c6ef0b rgb(198, 239, 11) hsl(71, 91%, 49%) Electric Lime
#ef340b rgb(239, 52, 11) hsl(11, 91%, 49%) Scarlet
#0bef34 rgb(11, 239, 52) hsl(131, 91%, 49%) Lime