#240aed ≈ Blue
#240aed 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 92.94% blue; printed in CMYK it uses 84.81% cyan, 95.78% magenta, 0% yellow and 7.06% black. Its hue angle is 246.87°, with 91.9% saturation and 48.43% 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.97:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 1.77.
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.0671 |
Shades
#240aed mixed progressively with black.
Tints
#240aed mixed progressively with white.
Tones
#240aed mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-240aed {
color: #240aed;
}
.bg-240aed {
background-color: #240aed;
color: #ffffff;
}
.border-240aed {
border: 2px solid #240aed;
}
:root {
--color-primary: #240aed;
--color-primary-rgb: 36 10 237;
--color-primary-hsl: 247 92% 48%;
}
.gradient-240aed {
background: linear-gradient(135deg, #240aed, #950aed);
}
.shadow-240aed {
box-shadow: 0 8px 24px rgb(36 10 237 / 0.35);
}
Blue
#240aed rgb(36, 10, 237) hsl(247, 92%, 48%) Blue
#d3ed0a rgb(211, 237, 10) hsl(67, 92%, 48%) Pear
#ed240a rgb(237, 36, 10) hsl(7, 92%, 48%) Red
#0aed24 rgb(10, 237, 36) hsl(127, 92%, 48%) Lime