#340bb4 ≈ Medium Blue
#340bb4 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.31% green and 70.59% blue; printed in CMYK it uses 71.11% cyan, 93.89% magenta, 0% yellow and 29.41% black. Its hue angle is 254.56°, with 88.48% saturation and 37.45% 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.33:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.24.
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.0426 |
Shades
#340bb4 mixed progressively with black.
Tints
#340bb4 mixed progressively with white.
Tones
#340bb4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340bb4 {
color: #340bb4;
}
.bg-340bb4 {
background-color: #340bb4;
color: #ffffff;
}
.border-340bb4 {
border: 2px solid #340bb4;
}
:root {
--color-primary: #340bb4;
--color-primary-rgb: 52 11 180;
--color-primary-hsl: 255 88% 37%;
}
.gradient-340bb4 {
background: linear-gradient(135deg, #340bb4, #890bb4);
}
.shadow-340bb4 {
box-shadow: 0 8px 24px rgb(52 11 180 / 0.35);
}
Medium Blue
#340bb4 rgb(52, 11, 180) hsl(255, 88%, 37%) Medium Blue
#8bb40b rgb(139, 180, 11) hsl(75, 88%, 37%) Apple Green
#b4340b rgb(180, 52, 11) hsl(15, 88%, 37%) Rust
#0bb434 rgb(11, 180, 52) hsl(135, 88%, 37%) Kelly Green