#2f5cdc ≈ Royal Blue
#2f5cdc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.43% red, 36.08% green and 86.27% blue; printed in CMYK it uses 78.64% cyan, 58.18% magenta, 0% yellow and 13.73% black. Its hue angle is 224.39°, with 71.19% saturation and 52.35% 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 brand accents. White text on this color reaches a contrast ratio of 5.7:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.46.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3366cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1343 |
Shades
#2f5cdc mixed progressively with black.
Tints
#2f5cdc mixed progressively with white.
Tones
#2f5cdc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f5cdc {
color: #2f5cdc;
}
.bg-2f5cdc {
background-color: #2f5cdc;
color: #ffffff;
}
.border-2f5cdc {
border: 2px solid #2f5cdc;
}
:root {
--color-primary: #2f5cdc;
--color-primary-rgb: 47 92 220;
--color-primary-hsl: 224 71% 52%;
}
.gradient-2f5cdc {
background: linear-gradient(135deg, #2f5cdc, #582fdc);
}
.shadow-2f5cdc {
box-shadow: 0 8px 24px rgb(47 92 220 / 0.35);
}
Royal Blue
#2f5cdc rgb(47, 92, 220) hsl(224, 71%, 52%) Royal Blue
#dcaf2f rgb(220, 175, 47) hsl(44, 71%, 52%) Meat Brown
#dc2f5c rgb(220, 47, 92) hsl(344, 71%, 52%) Cerise
#5cdc2f rgb(92, 220, 47) hsl(104, 71%, 52%) Lime Green