#340fda ≈ Medium Blue
#340fda is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 20.39% red, 5.88% green and 85.49% blue; printed in CMYK it uses 76.15% cyan, 93.12% magenta, 0% yellow and 14.51% black. Its hue angle is 250.94°, with 87.12% saturation and 45.69% 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.43:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.63.
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.0613 |
Shades
#340fda mixed progressively with black.
Tints
#340fda mixed progressively with white.
Tones
#340fda mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340fda {
color: #340fda;
}
.bg-340fda {
background-color: #340fda;
color: #ffffff;
}
.border-340fda {
border: 2px solid #340fda;
}
:root {
--color-primary: #340fda;
--color-primary-rgb: 52 15 218;
--color-primary-hsl: 251 87% 46%;
}
.gradient-340fda {
background: linear-gradient(135deg, #340fda, #9a0fda);
}
.shadow-340fda {
box-shadow: 0 8px 24px rgb(52 15 218 / 0.35);
}
Medium Blue
#340fda rgb(52, 15, 218) hsl(251, 87%, 46%) Medium Blue
#b5da0f rgb(181, 218, 15) hsl(71, 87%, 46%) Pear
#da340f rgb(218, 52, 15) hsl(11, 87%, 46%) Sinopia
#0fda34 rgb(15, 218, 52) hsl(131, 87%, 46%) Malachite