#0840ec ≈ Persian Blue
#0840ec 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.1% green and 92.55% blue; printed in CMYK it uses 96.61% cyan, 72.88% magenta, 0% yellow and 7.45% black. Its hue angle is 225.26°, with 93.44% saturation and 47.84% 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.11:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 6.43.
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.0977 |
Shades
#0840ec mixed progressively with black.
Tints
#0840ec mixed progressively with white.
Tones
#0840ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0840ec {
color: #0840ec;
}
.bg-0840ec {
background-color: #0840ec;
color: #ffffff;
}
.border-0840ec {
border: 2px solid #0840ec;
}
:root {
--color-primary: #0840ec;
--color-primary-rgb: 8 64 236;
--color-primary-hsl: 225 93% 48%;
}
.gradient-0840ec {
background: linear-gradient(135deg, #0840ec, #4208ec);
}
.shadow-0840ec {
box-shadow: 0 8px 24px rgb(8 64 236 / 0.35);
}
Persian Blue
#0840ec rgb(8, 64, 236) hsl(225, 93%, 48%) Persian Blue
#ecb408 rgb(236, 180, 8) hsl(45, 93%, 48%) Meat Brown
#ec0840 rgb(236, 8, 64) hsl(345, 93%, 48%) Crimson
#40ec08 rgb(64, 236, 8) hsl(105, 93%, 48%) Neon Green