#340fb3 ≈ Medium Blue
#340fb3 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 70.2% blue; printed in CMYK it uses 70.95% cyan, 91.62% magenta, 0% yellow and 29.8% black. Its hue angle is 253.54°, with 84.54% saturation and 38.04% 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 11.26:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.37.
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.0433 |
Shades
#340fb3 mixed progressively with black.
Tints
#340fb3 mixed progressively with white.
Tones
#340fb3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340fb3 {
color: #340fb3;
}
.bg-340fb3 {
background-color: #340fb3;
color: #ffffff;
}
.border-340fb3 {
border: 2px solid #340fb3;
}
:root {
--color-primary: #340fb3;
--color-primary-rgb: 52 15 179;
--color-primary-hsl: 254 85% 38%;
}
.gradient-340fb3 {
background: linear-gradient(135deg, #340fb3, #860fb3);
}
.shadow-340fb3 {
box-shadow: 0 8px 24px rgb(52 15 179 / 0.35);
}
Medium Blue
#340fb3 rgb(52, 15, 179) hsl(254, 85%, 38%) Medium Blue
#8eb30f rgb(142, 179, 15) hsl(74, 85%, 38%) Apple Green
#b3340f rgb(179, 52, 15) hsl(14, 85%, 38%) Rust
#0fb334 rgb(15, 179, 52) hsl(134, 85%, 38%) Kelly Green