One of the three light colors in every screen, along with red and green. It conveys calm, trust and order. It's the most common color in logos for banks, tech companies and social networks.
The hex code for blue is #0000FF. In RGB it is rgb(0, 0, 255), in HSL hsl(240, 100%, 50%) and in CMYK 100, 100, 0, 0.
Pick a color to pair it with and see how it looks on clothes, interiors and design.
Blue (#0000FF) is a cool, mid-tone, highly saturated color. It belongs to the blues family. It mixes 0 red, 0 green and 255 blue (out of 255). It is mostly used in logos, web, branding, fashion.

From lightest to darkest. Tap a shade to copy its code.
See all its shades: Color shades generator

Combinations based on the color wheel. More in the color harmony tool.
Copy the codes or open a palette in the editor to tweak it.
Based on WCAG 2.1 guidelines. Test other pairs in the contrast checker.
:root {
--blue: #0000FF;
--blue-rgb: 0, 0, 255;
}
.bg { background-color: var(--blue); }
.text { color: var(--blue); }
The hex code for blue is #0000FF. In RGB it is rgb(0, 0, 255), in HSL hsl(240, 100%, 50%) and in CMYK 100, 100, 0, 0.
Its complement on the color wheel is #FFFF00, close to yellow. Used in small doses, it works as an accent and adds strong contrast.
Yes. The contrast with white is 8.6:1, enough for body text (WCAG AA).
It pairs well with white, orange, gray, yellow, beige. Avoid mixing too many very different blues without a neutral, because they look messy. With intense purples, blue loses clarity.
We use Google Analytics cookies to understand how the site is used. Is that OK? Learn more