Blue (#0000FF) has the RGB value rgb(0, 0, 255), the HSL value hsl(240, 100%, 50%) and the CMYK value cmyk(100%, 100%, 0%, 0%).
| HEX | #0000FF |
| RGB | rgb(0, 0, 255) |
| HSL | hsl(240, 100%, 50%) |
| CMYK | cmyk(100%, 100%, 0%, 0%) |
Complementary
Analogous
Triadic
Split-complementary
Tints mix Blue with white; shades mix it with black.
| #0000FF on white | 8.59:1 · AAA |
| #0000FF on black | 2.44:1 · Fails |
Text in white is easier to read on a blue background.
The hex code used here for blue is #0000FF. Other shades of blue use different codes.
Blue (#0000FF) is rgb(0, 0, 255): red 0, green 0, blue 255.
Its complementary color is #FFFF00. Analogous colors are #0080FF and #8000FF, and a triadic scheme adds #FF0000 and #00FF00.
The contrast ratio of #0000FF on white is 8.59:1 (AAA). On black it is 2.44:1 (Fails). WCAG AA needs 4.5:1 for normal text.
No. The CMYK numbers are a simple mathematical conversion from RGB. Printed colors depend on the printer, ink and paper, so check a proof for color-critical work.