#340bd3 ≈ Medium Blue
#340bd3 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 20.39% red, 4.31% green and 82.75% blue; printed in CMYK it uses 75.36% cyan, 94.79% magenta, 0% yellow and 17.25% black. Its hue angle is 252.3°, with 90.09% saturation and 43.53% 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 9.84:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.85.
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.0567 |
Shades
#340bd3 mixed progressively with black.
Tints
#340bd3 mixed progressively with white.
Tones
#340bd3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340bd3 {
color: #340bd3;
}
.bg-340bd3 {
background-color: #340bd3;
color: #ffffff;
}
.border-340bd3 {
border: 2px solid #340bd3;
}
:root {
--color-primary: #340bd3;
--color-primary-rgb: 52 11 211;
--color-primary-hsl: 252 90% 44%;
}
.gradient-340bd3 {
background: linear-gradient(135deg, #340bd3, #980bd3);
}
.shadow-340bd3 {
box-shadow: 0 8px 24px rgb(52 11 211 / 0.35);
}
Medium Blue
#340bd3 rgb(52, 11, 211) hsl(252, 90%, 44%) Medium Blue
#aad30b rgb(170, 211, 11) hsl(72, 90%, 44%) Yellow Green
#d3340b rgb(211, 52, 11) hsl(12, 90%, 44%) Sinopia
#0bd334 rgb(11, 211, 52) hsl(132, 90%, 44%) Lime Green