#240cfd ≈ Blue
#240cfd is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 14.12% red, 4.71% green and 99.22% blue; printed in CMYK it uses 85.77% cyan, 95.26% magenta, 0% yellow and 0.78% black. Its hue angle is 245.98°, with 98.37% saturation and 51.96% 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.25:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 1.04.
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.0773 |
Shades
#240cfd mixed progressively with black.
Tints
#240cfd mixed progressively with white.
Tones
#240cfd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-240cfd {
color: #240cfd;
}
.bg-240cfd {
background-color: #240cfd;
color: #ffffff;
}
.border-240cfd {
border: 2px solid #240cfd;
}
:root {
--color-primary: #240cfd;
--color-primary-rgb: 36 12 253;
--color-primary-hsl: 246 98% 52%;
}
.gradient-240cfd {
background: linear-gradient(135deg, #240cfd, #9d0cfd);
}
.shadow-240cfd {
box-shadow: 0 8px 24px rgb(36 12 253 / 0.35);
}
Blue
#240cfd rgb(36, 12, 253) hsl(246, 98%, 52%) Blue
#e5fd0c rgb(229, 253, 12) hsl(66, 98%, 52%) Lemon Lime
#fd240c rgb(253, 36, 12) hsl(6, 98%, 52%) Candy Apple Red
#0cfd24 rgb(12, 253, 36) hsl(126, 98%, 52%) Lime