#2a40fa ≈ Majorelle Blue
#2a40fa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.47% red, 25.1% green and 98.04% blue; printed in CMYK it uses 83.2% cyan, 74.4% magenta, 0% yellow and 1.96% black. Its hue angle is 233.65°, with 95.41% saturation and 57.25% 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 6.54:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 6.22.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1106 |
Shades
#2a40fa mixed progressively with black.
Tints
#2a40fa mixed progressively with white.
Tones
#2a40fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a40fa {
color: #2a40fa;
}
.bg-2a40fa {
background-color: #2a40fa;
color: #ffffff;
}
.border-2a40fa {
border: 2px solid #2a40fa;
}
:root {
--color-primary: #2a40fa;
--color-primary-rgb: 42 64 250;
--color-primary-hsl: 234 95% 57%;
}
.gradient-2a40fa {
background: linear-gradient(135deg, #2a40fa, #7c2afa);
}
.shadow-2a40fa {
box-shadow: 0 8px 24px rgb(42 64 250 / 0.35);
}
Majorelle Blue
#2a40fa rgb(42, 64, 250) hsl(234, 95%, 57%) Majorelle Blue
#fae42a rgb(250, 228, 42) hsl(54, 95%, 57%) Dandelion
#fa2a40 rgb(250, 42, 64) hsl(354, 95%, 57%) Tractor Red
#40fa2a rgb(64, 250, 42) hsl(114, 95%, 57%) Neon Green