#0842dc ≈ Persian Blue
#0842dc 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 86.27% blue; printed in CMYK it uses 96.36% cyan, 70% magenta, 0% yellow and 13.73% black. Its hue angle is 223.58°, with 92.98% saturation and 44.71% 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.44:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 4.8.
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.0912 |
Shades
#0842dc mixed progressively with black.
Tints
#0842dc mixed progressively with white.
Tones
#0842dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0842dc {
color: #0842dc;
}
.bg-0842dc {
background-color: #0842dc;
color: #ffffff;
}
.border-0842dc {
border: 2px solid #0842dc;
}
:root {
--color-primary: #0842dc;
--color-primary-rgb: 8 66 220;
--color-primary-hsl: 224 93% 45%;
}
.gradient-0842dc {
background: linear-gradient(135deg, #0842dc, #3808dc);
}
.shadow-0842dc {
box-shadow: 0 8px 24px rgb(8 66 220 / 0.35);
}
Persian Blue
#0842dc rgb(8, 66, 220) hsl(224, 93%, 45%) Persian Blue
#dca208 rgb(220, 162, 8) hsl(44, 93%, 45%) Goldenrod
#dc0842 rgb(220, 8, 66) hsl(344, 93%, 45%) Crimson
#42dc08 rgb(66, 220, 8) hsl(104, 93%, 45%) Lime Green