#306aef ≈ Royal Blue
#306aef is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.82% red, 41.57% green and 93.73% blue; printed in CMYK it uses 79.92% cyan, 55.65% magenta, 0% yellow and 6.27% black. Its hue angle is 221.78°, with 85.65% saturation and 56.27% 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 4.74:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 1.87.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3366ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1717 |
Shades
#306aef mixed progressively with black.
Tints
#306aef mixed progressively with white.
Tones
#306aef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-306aef {
color: #306aef;
}
.bg-306aef {
background-color: #306aef;
color: #ffffff;
}
.border-306aef {
border: 2px solid #306aef;
}
:root {
--color-primary: #306aef;
--color-primary-rgb: 48 106 239;
--color-primary-hsl: 222 86% 56%;
}
.gradient-306aef {
background: linear-gradient(135deg, #306aef, #5530ef);
}
.shadow-306aef {
box-shadow: 0 8px 24px rgb(48 106 239 / 0.35);
}
Royal Blue
#306aef rgb(48, 106, 239) hsl(222, 86%, 56%) Royal Blue
#efb530 rgb(239, 181, 48) hsl(42, 86%, 56%) Meat Brown
#ef306a rgb(239, 48, 106) hsl(342, 86%, 56%) Cerise
#6aef30 rgb(106, 239, 48) hsl(102, 86%, 56%) Lawn Green