#340efa ≈ Ultramarine
#340efa 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.49% green and 98.04% blue; printed in CMYK it uses 79.2% cyan, 94.4% magenta, 0% yellow and 1.96% black. Its hue angle is 249.66°, with 95.93% saturation and 51.76% 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.11:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.03.
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.0795 |
Shades
#340efa mixed progressively with black.
Tints
#340efa mixed progressively with white.
Tones
#340efa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340efa {
color: #340efa;
}
.bg-340efa {
background-color: #340efa;
color: #ffffff;
}
.border-340efa {
border: 2px solid #340efa;
}
:root {
--color-primary: #340efa;
--color-primary-rgb: 52 14 250;
--color-primary-hsl: 250 96% 52%;
}
.gradient-340efa {
background: linear-gradient(135deg, #340efa, #aa0efa);
}
.shadow-340efa {
box-shadow: 0 8px 24px rgb(52 14 250 / 0.35);
}
Ultramarine
#340efa rgb(52, 14, 250) hsl(250, 96%, 52%) Ultramarine
#d4fa0e rgb(212, 250, 14) hsl(70, 96%, 52%) Chartreuse Yellow
#fa340e rgb(250, 52, 14) hsl(10, 96%, 52%) Ferrari Red
#0efa34 rgb(14, 250, 52) hsl(130, 96%, 52%) Lime