#0804ff ≈ Blue
#0804ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 3.14% red, 1.57% green and 100% blue; printed in CMYK it uses 96.86% cyan, 98.43% magenta, 0% yellow and 0% black. Its hue angle is 240.96°, with 100% saturation and 50.78% 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 8.5:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 0.27.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0000ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0736 |
Shades
#0804ff mixed progressively with black.
Tints
#0804ff mixed progressively with white.
Tones
#0804ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0804ff {
color: #0804ff;
}
.bg-0804ff {
background-color: #0804ff;
color: #ffffff;
}
.border-0804ff {
border: 2px solid #0804ff;
}
:root {
--color-primary: #0804ff;
--color-primary-rgb: 8 4 255;
--color-primary-hsl: 241 100% 51%;
}
.gradient-0804ff {
background: linear-gradient(135deg, #0804ff, #8604ff);
}
.shadow-0804ff {
box-shadow: 0 8px 24px rgb(8 4 255 / 0.35);
}
Blue
#0804ff rgb(8, 4, 255) hsl(241, 100%, 51%) Blue
#fbff04 rgb(251, 255, 4) hsl(61, 100%, 51%) Yellow
#ff0804 rgb(255, 8, 4) hsl(1, 100%, 51%) Red
#04ff08 rgb(4, 255, 8) hsl(121, 100%, 51%) Lime