#0842df ≈ Persian Blue
#0842df is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 3.14% red, 25.88% green and 87.45% blue; printed in CMYK it uses 96.41% cyan, 70.4% magenta, 0% yellow and 12.55% black. Its hue angle is 223.81°, with 93.07% saturation and 45.29% 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.36:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 5.13.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0033cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0928 |
Shades
#0842df mixed progressively with black.
Tints
#0842df mixed progressively with white.
Tones
#0842df mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0842df {
color: #0842df;
}
.bg-0842df {
background-color: #0842df;
color: #ffffff;
}
.border-0842df {
border: 2px solid #0842df;
}
:root {
--color-primary: #0842df;
--color-primary-rgb: 8 66 223;
--color-primary-hsl: 224 93% 45%;
}
.gradient-0842df {
background: linear-gradient(135deg, #0842df, #3908df);
}
.shadow-0842df {
box-shadow: 0 8px 24px rgb(8 66 223 / 0.35);
}
Persian Blue
#0842df rgb(8, 66, 223) hsl(224, 93%, 45%) Persian Blue
#dfa508 rgb(223, 165, 8) hsl(44, 93%, 45%) Goldenrod
#df0842 rgb(223, 8, 66) hsl(344, 93%, 45%) Crimson
#42df08 rgb(66, 223, 8) hsl(104, 93%, 45%) Lime Green