#2f7aaa ≈ Cerulean
#2f7aaa is a color from the azure family, with medium lightness and moderate saturation. In the RGB model it is made of 18.43% red, 47.84% green and 66.67% blue; printed in CMYK it uses 72.35% cyan, 28.24% magenta, 0% yellow and 33.33% black. Its hue angle is 203.41°, with 56.68% saturation and 42.55% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 4.68:1 (WCAG AA). The closest named color is Cerulean (#007ba7), ΔE 3.69.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #336699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1743 |
Shades
#2f7aaa mixed progressively with black.
Tints
#2f7aaa mixed progressively with white.
Tones
#2f7aaa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f7aaa {
color: #2f7aaa;
}
.bg-2f7aaa {
background-color: #2f7aaa;
color: #ffffff;
}
.border-2f7aaa {
border: 2px solid #2f7aaa;
}
:root {
--color-primary: #2f7aaa;
--color-primary-rgb: 47 122 170;
--color-primary-hsl: 203 57% 43%;
}
.gradient-2f7aaa {
background: linear-gradient(135deg, #2f7aaa, #2f3daa);
}
.shadow-2f7aaa {
box-shadow: 0 8px 24px rgb(47 122 170 / 0.35);
}
Cerulean
#2f7aaa rgb(47, 122, 170) hsl(203, 57%, 43%) Cerulean
#aa5f2f rgb(170, 95, 47) hsl(23, 57%, 43%) Sienna
#aa2f7a rgb(170, 47, 122) hsl(323, 57%, 43%) Medium Violet Red
#7aaa2f rgb(122, 170, 47) hsl(83, 57%, 43%) Apple Green