#340dfd ≈ Ultramarine
#340dfd 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.1% green and 99.22% blue; printed in CMYK it uses 79.45% cyan, 94.86% magenta, 0% yellow and 0.78% black. Its hue angle is 249.75°, with 98.36% saturation and 52.16% 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.01:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 0.83.
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.0811 |
Shades
#340dfd mixed progressively with black.
Tints
#340dfd mixed progressively with white.
Tones
#340dfd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340dfd {
color: #340dfd;
}
.bg-340dfd {
background-color: #340dfd;
color: #ffffff;
}
.border-340dfd {
border: 2px solid #340dfd;
}
:root {
--color-primary: #340dfd;
--color-primary-rgb: 52 13 253;
--color-primary-hsl: 250 98% 52%;
}
.gradient-340dfd {
background: linear-gradient(135deg, #340dfd, #ac0dfd);
}
.shadow-340dfd {
box-shadow: 0 8px 24px rgb(52 13 253 / 0.35);
}
Ultramarine
#340dfd rgb(52, 13, 253) hsl(250, 98%, 52%) Ultramarine
#d6fd0d rgb(214, 253, 13) hsl(70, 98%, 52%) Chartreuse Yellow
#fd340d rgb(253, 52, 13) hsl(10, 98%, 52%) Ferrari Red
#0dfd34 rgb(13, 253, 52) hsl(130, 98%, 52%) Lime