#0000ff Blue
#0000ff (Blue) is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0% red, 0% green and 100% blue; printed in CMYK it uses 100% cyan, 100% magenta, 0% yellow and 0% black. Its hue angle is 240°, with 100% saturation and 50% 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.59:1 (WCAG AAA).
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.0722 |
Shades
#0000ff mixed progressively with black.
Tints
#0000ff mixed progressively with white.
Tones
#0000ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0000ff {
color: #0000ff;
}
.bg-0000ff {
background-color: #0000ff;
color: #ffffff;
}
.border-0000ff {
border: 2px solid #0000ff;
}
:root {
--color-primary: #0000ff;
--color-primary-rgb: 0 0 255;
--color-primary-hsl: 240 100% 50%;
}
.gradient-0000ff {
background: linear-gradient(135deg, #0000ff, #7f00ff);
}
.shadow-0000ff {
box-shadow: 0 8px 24px rgb(0 0 255 / 0.35);
}
Blue
#0000ff rgb(0, 0, 255) hsl(240, 100%, 50%) Blue
#ffff00 rgb(255, 255, 0) hsl(60, 100%, 50%) Yellow
#ff0000 rgb(255, 0, 0) hsl(0, 100%, 50%) Red
#00ff00 rgb(0, 255, 0) hsl(120, 100%, 50%) Lime