#340fbc ≈ Medium Blue
#340fbc is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 20.39% red, 5.88% green and 73.73% blue; printed in CMYK it uses 72.34% cyan, 92.02% magenta, 0% yellow and 26.27% black. Its hue angle is 252.83°, with 85.22% 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.82:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.67.
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.047 |
Shades
#340fbc mixed progressively with black.
Tints
#340fbc mixed progressively with white.
Tones
#340fbc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340fbc {
color: #340fbc;
}
.bg-340fbc {
background-color: #340fbc;
color: #ffffff;
}
.border-340fbc {
border: 2px solid #340fbc;
}
:root {
--color-primary: #340fbc;
--color-primary-rgb: 52 15 188;
--color-primary-hsl: 253 85% 40%;
}
.gradient-340fbc {
background: linear-gradient(135deg, #340fbc, #8a0fbc);
}
.shadow-340fbc {
box-shadow: 0 8px 24px rgb(52 15 188 / 0.35);
}
Medium Blue
#340fbc rgb(52, 15, 188) hsl(253, 85%, 40%) Medium Blue
#97bc0f rgb(151, 188, 15) hsl(73, 85%, 40%) Apple Green
#bc340f rgb(188, 52, 15) hsl(13, 85%, 40%) Rust
#0fbc34 rgb(15, 188, 52) hsl(133, 85%, 40%) Kelly Green