#0000FF color

#0000FF rgb(0, 0, 255)
Shades of blue

The hex color #0000FF is a vivid blue.

In the RGB color model it is made of 0% red, 0% green and 100% blue (0, 0, 255).

Its hue angle is 240°, with 100% saturation and 50% lightness. For print, the CMYK equivalent is 100% cyan, 100% magenta, 0% yellow and 0% black.

This exact color is also called Blue.

White text is the more readable choice on this background (contrast 8.59:1).

#0000FF color codes

HEX#0000FF
RGBrgb(0, 0, 255)
RGB percentrgb(0%, 0%, 100%)
HSLhsl(240, 100%, 50%)
HSV / HSBhsv(240, 100%, 100%)
CMYKcmyk(100%, 100%, 0%, 0%)
CIE LABlab(32.3, 79.19, -107.86)
CIE LCHlch(32.3, 133.81, 306.28)
CIE XYZxyz(18.044, 7.218, 95.03)
Decimal255
Short hex#00F

Color harmonies

Colors that go with #0000FF, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #0000FFRatioAAAAAAA large
Sample text2.44:1FailFailFail
Sample text8.59:1PassPassPass
#0000FF as text onRatioAAAAAAA large
Sample text8.59:1PassPassPass
Sample text2.44:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #0000FF looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0000ff; }
.text { color: #0000ff; }
.border { border: 2px solid #0000ff; }
.transparent { background-color: rgb(0 0 255 / 50%); }
.gradient { background: linear-gradient(to right, #0000ff, #8000ff); }
Background
Text color
Border

Similar colors

Questions

What color is #0000FF?
#0000FF is a vivid blue known as Blue. It belongs to the blue family of colors.
What is the RGB value of #0000FF?
The RGB value is 0, 0, 255: 0 red, 0 green and 255 blue on a 0 to 255 scale.
What is the complementary color of #0000FF?
The complementary color is #FFFF00, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0000FF?
White text. Black text has a contrast ratio of 2.44:1 and white text 8.59:1. WCAG asks for at least 4.5:1 for normal text.