#340cbb ≈ Medium Blue
#340cbb 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 73.33% blue; printed in CMYK it uses 72.19% cyan, 93.58% magenta, 0% yellow and 26.67% black. Its hue angle is 253.71°, with 87.94% saturation and 39.02% 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.96: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.0458 |
Shades
#340cbb mixed progressively with black.
Tints
#340cbb mixed progressively with white.
Tones
#340cbb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340cbb {
color: #340cbb;
}
.bg-340cbb {
background-color: #340cbb;
color: #ffffff;
}
.border-340cbb {
border: 2px solid #340cbb;
}
:root {
--color-primary: #340cbb;
--color-primary-rgb: 52 12 187;
--color-primary-hsl: 254 88% 39%;
}
.gradient-340cbb {
background: linear-gradient(135deg, #340cbb, #8b0cbb);
}
.shadow-340cbb {
box-shadow: 0 8px 24px rgb(52 12 187 / 0.35);
}
Medium Blue
#340cbb rgb(52, 12, 187) hsl(254, 88%, 39%) Medium Blue
#93bb0c rgb(147, 187, 12) hsl(74, 88%, 39%) Apple Green
#bb340c rgb(187, 52, 12) hsl(14, 88%, 39%) Rust
#0cbb34 rgb(12, 187, 52) hsl(134, 88%, 39%) Kelly Green