#340abc ≈ Medium Blue
#340abc is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 20.39% red, 3.92% green and 73.73% blue; printed in CMYK it uses 72.34% cyan, 94.68% magenta, 0% yellow and 26.27% black. Its hue angle is 254.16°, with 89.9% saturation and 38.82% 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.57.
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
#340abc mixed progressively with black.
Tints
#340abc mixed progressively with white.
Tones
#340abc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340abc {
color: #340abc;
}
.bg-340abc {
background-color: #340abc;
color: #ffffff;
}
.border-340abc {
border: 2px solid #340abc;
}
:root {
--color-primary: #340abc;
--color-primary-rgb: 52 10 188;
--color-primary-hsl: 254 90% 39%;
}
.gradient-340abc {
background: linear-gradient(135deg, #340abc, #8d0abc);
}
.shadow-340abc {
box-shadow: 0 8px 24px rgb(52 10 188 / 0.35);
}
Medium Blue
#340abc rgb(52, 10, 188) hsl(254, 90%, 39%) Medium Blue
#92bc0a rgb(146, 188, 10) hsl(74, 90%, 39%) Apple Green
#bc340a rgb(188, 52, 10) hsl(14, 90%, 39%) Rust
#0abc34 rgb(10, 188, 52) hsl(134, 90%, 39%) Kelly Green