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