#340bc2 ≈ Medium Blue
#340bc2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 20.39% red, 4.31% green and 76.08% blue; printed in CMYK it uses 73.2% cyan, 94.33% magenta, 0% yellow and 23.92% black. Its hue angle is 253.44°, with 89.27% saturation and 40.2% 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.64:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.31.
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.0486 |
Shades
#340bc2 mixed progressively with black.
Tints
#340bc2 mixed progressively with white.
Tones
#340bc2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340bc2 {
color: #340bc2;
}
.bg-340bc2 {
background-color: #340bc2;
color: #ffffff;
}
.border-340bc2 {
border: 2px solid #340bc2;
}
:root {
--color-primary: #340bc2;
--color-primary-rgb: 52 11 194;
--color-primary-hsl: 253 89% 40%;
}
.gradient-340bc2 {
background: linear-gradient(135deg, #340bc2, #900bc2);
}
.shadow-340bc2 {
box-shadow: 0 8px 24px rgb(52 11 194 / 0.35);
}
Medium Blue
#340bc2 rgb(52, 11, 194) hsl(253, 89%, 40%) Medium Blue
#99c20b rgb(153, 194, 11) hsl(73, 89%, 40%) Apple Green
#c2340b rgb(194, 52, 11) hsl(13, 89%, 40%) Rust
#0bc234 rgb(11, 194, 52) hsl(133, 89%, 40%) Lime Green