#340cbd ≈ Medium Blue
#340cbd is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 20.39% red, 4.71% green and 74.12% blue; printed in CMYK it uses 72.49% cyan, 93.65% magenta, 0% yellow and 25.88% black. Its hue angle is 253.56°, with 88.06% saturation and 39.41% 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.86:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.54.
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.0467 |
Shades
#340cbd mixed progressively with black.
Tints
#340cbd mixed progressively with white.
Tones
#340cbd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340cbd {
color: #340cbd;
}
.bg-340cbd {
background-color: #340cbd;
color: #ffffff;
}
.border-340cbd {
border: 2px solid #340cbd;
}
:root {
--color-primary: #340cbd;
--color-primary-rgb: 52 12 189;
--color-primary-hsl: 254 88% 39%;
}
.gradient-340cbd {
background: linear-gradient(135deg, #340cbd, #8c0cbd);
}
.shadow-340cbd {
box-shadow: 0 8px 24px rgb(52 12 189 / 0.35);
}
Medium Blue
#340cbd rgb(52, 12, 189) hsl(254, 88%, 39%) Medium Blue
#95bd0c rgb(149, 189, 12) hsl(74, 88%, 39%) Apple Green
#bd340c rgb(189, 52, 12) hsl(14, 88%, 39%) Rust
#0cbd34 rgb(12, 189, 52) hsl(134, 88%, 39%) Kelly Green