#340aef ≈ Blue
#340aef is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 20.39% red, 3.92% green and 93.73% blue; printed in CMYK it uses 78.24% cyan, 95.82% magenta, 0% yellow and 6.27% black. Its hue angle is 251°, with 91.97% saturation and 48.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 8.62:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 1.76.
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.0718 |
Shades
#340aef mixed progressively with black.
Tints
#340aef mixed progressively with white.
Tones
#340aef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340aef {
color: #340aef;
}
.bg-340aef {
background-color: #340aef;
color: #ffffff;
}
.border-340aef {
border: 2px solid #340aef;
}
:root {
--color-primary: #340aef;
--color-primary-rgb: 52 10 239;
--color-primary-hsl: 251 92% 49%;
}
.gradient-340aef {
background: linear-gradient(135deg, #340aef, #a60aef);
}
.shadow-340aef {
box-shadow: 0 8px 24px rgb(52 10 239 / 0.35);
}
Blue
#340aef rgb(52, 10, 239) hsl(251, 92%, 49%) Blue
#c5ef0a rgb(197, 239, 10) hsl(71, 92%, 49%) Electric Lime
#ef340a rgb(239, 52, 10) hsl(11, 92%, 49%) Scarlet
#0aef34 rgb(10, 239, 52) hsl(131, 92%, 49%) Lime