#340fbd ≈ Medium Blue
#340fbd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 20.39% red, 5.88% green and 74.12% blue; printed in CMYK it uses 72.49% cyan, 92.06% magenta, 0% yellow and 25.88% black. Its hue angle is 252.76°, with 85.29% saturation and 40% 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 10.77:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.61.
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.0475 |
Shades
#340fbd mixed progressively with black.
Tints
#340fbd mixed progressively with white.
Tones
#340fbd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340fbd {
color: #340fbd;
}
.bg-340fbd {
background-color: #340fbd;
color: #ffffff;
}
.border-340fbd {
border: 2px solid #340fbd;
}
:root {
--color-primary: #340fbd;
--color-primary-rgb: 52 15 189;
--color-primary-hsl: 253 85% 40%;
}
.gradient-340fbd {
background: linear-gradient(135deg, #340fbd, #8b0fbd);
}
.shadow-340fbd {
box-shadow: 0 8px 24px rgb(52 15 189 / 0.35);
}
Medium Blue
#340fbd rgb(52, 15, 189) hsl(253, 85%, 40%) Medium Blue
#98bd0f rgb(152, 189, 15) hsl(73, 85%, 40%) Apple Green
#bd340f rgb(189, 52, 15) hsl(13, 85%, 40%) Rust
#0fbd34 rgb(15, 189, 52) hsl(133, 85%, 40%) Kelly Green