#340dff ≈ Ultramarine
#340dff 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 100% blue; printed in CMYK it uses 79.61% cyan, 94.9% magenta, 0% yellow and 0% black. Its hue angle is 249.67°, with 100% saturation and 52.55% 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 7.93:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 0.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.0824 |
Shades
#340dff mixed progressively with black.
Tints
#340dff mixed progressively with white.
Tones
#340dff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340dff {
color: #340dff;
}
.bg-340dff {
background-color: #340dff;
color: #ffffff;
}
.border-340dff {
border: 2px solid #340dff;
}
:root {
--color-primary: #340dff;
--color-primary-rgb: 52 13 255;
--color-primary-hsl: 250 100% 53%;
}
.gradient-340dff {
background: linear-gradient(135deg, #340dff, #ad0dff);
}
.shadow-340dff {
box-shadow: 0 8px 24px rgb(52 13 255 / 0.35);
}
Ultramarine
#340dff rgb(52, 13, 255) hsl(250, 100%, 53%) Ultramarine
#d8ff0d rgb(216, 255, 13) hsl(70, 100%, 53%) Chartreuse Yellow
#ff340d rgb(255, 52, 13) hsl(10, 100%, 53%) Ferrari Red
#0dff34 rgb(13, 255, 52) hsl(130, 100%, 53%) Lime