#2228ef ≈ Blue
#2228ef is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 13.33% red, 15.69% green and 93.73% blue; printed in CMYK it uses 85.77% cyan, 83.26% magenta, 0% yellow and 6.27% black. Its hue angle is 238.24°, with 86.5% saturation and 53.53% 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.02:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.32.
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.0809 |
Shades
#2228ef mixed progressively with black.
Tints
#2228ef mixed progressively with white.
Tones
#2228ef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2228ef {
color: #2228ef;
}
.bg-2228ef {
background-color: #2228ef;
color: #ffffff;
}
.border-2228ef {
border: 2px solid #2228ef;
}
:root {
--color-primary: #2228ef;
--color-primary-rgb: 34 40 239;
--color-primary-hsl: 238 87% 54%;
}
.gradient-2228ef {
background: linear-gradient(135deg, #2228ef, #8222ef);
}
.shadow-2228ef {
box-shadow: 0 8px 24px rgb(34 40 239 / 0.35);
}
Blue
#2228ef rgb(34, 40, 239) hsl(238, 87%, 54%) Blue
#efe922 rgb(239, 233, 34) hsl(58, 87%, 54%) Titanium Yellow
#ef2228 rgb(239, 34, 40) hsl(358, 87%, 54%) Lust
#28ef22 rgb(40, 239, 34) hsl(118, 87%, 54%) Lime