#340fef ≈ Blue
#340fef is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20.39% red, 5.88% green and 93.73% blue; printed in CMYK it uses 78.24% cyan, 93.72% magenta, 0% yellow and 6.27% black. Its hue angle is 249.91°, with 88.19% saturation and 49.8% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 8.53:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 1.79.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3300ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.073 |
Shades
#340fef mixed progressively with black.
Tints
#340fef mixed progressively with white.
Tones
#340fef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340fef {
color: #340fef;
}
.bg-340fef {
background-color: #340fef;
color: #ffffff;
}
.border-340fef {
border: 2px solid #340fef;
}
:root {
--color-primary: #340fef;
--color-primary-rgb: 52 15 239;
--color-primary-hsl: 250 88% 50%;
}
.gradient-340fef {
background: linear-gradient(135deg, #340fef, #a40fef);
}
.shadow-340fef {
box-shadow: 0 8px 24px rgb(52 15 239 / 0.35);
}
Blue
#340fef rgb(52, 15, 239) hsl(250, 88%, 50%) Blue
#caef0f rgb(202, 239, 15) hsl(70, 88%, 50%) Electric Lime
#ef340f rgb(239, 52, 15) hsl(10, 88%, 50%) Scarlet
#0fef34 rgb(15, 239, 52) hsl(130, 88%, 50%) Lime