#271feb ≈ Blue
#271feb is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 15.29% red, 12.16% green and 92.16% blue; printed in CMYK it uses 83.4% cyan, 86.81% magenta, 0% yellow and 7.84% black. Its hue angle is 242.35°, with 83.61% saturation and 52.16% 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.46:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.46.
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.0741 |
Shades
#271feb mixed progressively with black.
Tints
#271feb mixed progressively with white.
Tones
#271feb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-271feb {
color: #271feb;
}
.bg-271feb {
background-color: #271feb;
color: #ffffff;
}
.border-271feb {
border: 2px solid #271feb;
}
:root {
--color-primary: #271feb;
--color-primary-rgb: 39 31 235;
--color-primary-hsl: 242 84% 52%;
}
.gradient-271feb {
background: linear-gradient(135deg, #271feb, #8d1feb);
}
.shadow-271feb {
box-shadow: 0 8px 24px rgb(39 31 235 / 0.35);
}
Blue
#271feb rgb(39, 31, 235) hsl(242, 84%, 52%) Blue
#e3eb1f rgb(227, 235, 31) hsl(62, 84%, 52%) Pear
#eb271f rgb(235, 39, 31) hsl(2, 84%, 52%) Lust
#1feb27 rgb(31, 235, 39) hsl(122, 84%, 52%) Lime