#240dff ≈ Blue
#240dff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 14.12% red, 5.1% green and 100% blue; printed in CMYK it uses 85.88% cyan, 94.9% magenta, 0% yellow and 0% black. Its hue angle is 245.7°, 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 8.15:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 1.23.
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.0788 |
Shades
#240dff mixed progressively with black.
Tints
#240dff mixed progressively with white.
Tones
#240dff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-240dff {
color: #240dff;
}
.bg-240dff {
background-color: #240dff;
color: #ffffff;
}
.border-240dff {
border: 2px solid #240dff;
}
:root {
--color-primary: #240dff;
--color-primary-rgb: 36 13 255;
--color-primary-hsl: 246 100% 53%;
}
.gradient-240dff {
background: linear-gradient(135deg, #240dff, #9d0dff);
}
.shadow-240dff {
box-shadow: 0 8px 24px rgb(36 13 255 / 0.35);
}
Blue
#240dff rgb(36, 13, 255) hsl(246, 100%, 53%) Blue
#e8ff0d rgb(232, 255, 13) hsl(66, 100%, 53%) Lemon Lime
#ff240d rgb(255, 36, 13) hsl(6, 100%, 53%) Scarlet
#0dff24 rgb(13, 255, 36) hsl(126, 100%, 53%) Lime