#340cbf ≈ Medium Blue
#340cbf 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.9% blue; printed in CMYK it uses 72.77% cyan, 93.72% magenta, 0% yellow and 25.1% black. Its hue angle is 253.41°, with 88.18% saturation and 39.8% 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.76:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.44.
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
#340cbf mixed progressively with black.
Tints
#340cbf mixed progressively with white.
Tones
#340cbf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340cbf {
color: #340cbf;
}
.bg-340cbf {
background-color: #340cbf;
color: #ffffff;
}
.border-340cbf {
border: 2px solid #340cbf;
}
:root {
--color-primary: #340cbf;
--color-primary-rgb: 52 12 191;
--color-primary-hsl: 253 88% 40%;
}
.gradient-340cbf {
background: linear-gradient(135deg, #340cbf, #8d0cbf);
}
.shadow-340cbf {
box-shadow: 0 8px 24px rgb(52 12 191 / 0.35);
}
Medium Blue
#340cbf rgb(52, 12, 191) hsl(253, 88%, 40%) Medium Blue
#97bf0c rgb(151, 191, 12) hsl(73, 88%, 40%) Apple Green
#bf340c rgb(191, 52, 12) hsl(13, 88%, 40%) Rust
#0cbf34 rgb(12, 191, 52) hsl(133, 88%, 40%) Lime Green