#340fdb ≈ Blue
#340fdb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 20.39% red, 5.88% green and 85.88% blue; printed in CMYK it uses 76.26% cyan, 93.15% magenta, 0% yellow and 14.12% black. Its hue angle is 250.88°, with 87.18% saturation and 45.88% 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 9.39:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.69.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3300cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0619 |
Shades
#340fdb mixed progressively with black.
Tints
#340fdb mixed progressively with white.
Tones
#340fdb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340fdb {
color: #340fdb;
}
.bg-340fdb {
background-color: #340fdb;
color: #ffffff;
}
.border-340fdb {
border: 2px solid #340fdb;
}
:root {
--color-primary: #340fdb;
--color-primary-rgb: 52 15 219;
--color-primary-hsl: 251 87% 46%;
}
.gradient-340fdb {
background: linear-gradient(135deg, #340fdb, #9a0fdb);
}
.shadow-340fdb {
box-shadow: 0 8px 24px rgb(52 15 219 / 0.35);
}
Blue
#340fdb rgb(52, 15, 219) hsl(251, 87%, 46%) Blue
#b6db0f rgb(182, 219, 15) hsl(71, 87%, 46%) Pear
#db340f rgb(219, 52, 15) hsl(11, 87%, 46%) Sinopia
#0fdb34 rgb(15, 219, 52) hsl(131, 87%, 46%) Malachite