#1228fa ≈ Blue
#1228fa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 7.06% red, 15.69% green and 98.04% blue; printed in CMYK it uses 92.8% cyan, 84% magenta, 0% yellow and 1.96% black. Its hue angle is 234.31°, with 95.87% saturation and 52.55% 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 7.75:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.38.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0033ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0855 |
Shades
#1228fa mixed progressively with black.
Tints
#1228fa mixed progressively with white.
Tones
#1228fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1228fa {
color: #1228fa;
}
.bg-1228fa {
background-color: #1228fa;
color: #ffffff;
}
.border-1228fa {
border: 2px solid #1228fa;
}
:root {
--color-primary: #1228fa;
--color-primary-rgb: 18 40 250;
--color-primary-hsl: 234 96% 53%;
}
.gradient-1228fa {
background: linear-gradient(135deg, #1228fa, #7012fa);
}
.shadow-1228fa {
box-shadow: 0 8px 24px rgb(18 40 250 / 0.35);
}
Blue
#1228fa rgb(18, 40, 250) hsl(234, 96%, 53%) Blue
#fae412 rgb(250, 228, 18) hsl(54, 96%, 53%) Dandelion
#fa1228 rgb(250, 18, 40) hsl(354, 96%, 53%) Tractor Red
#28fa12 rgb(40, 250, 18) hsl(114, 96%, 53%) Lime