#0000CC Color

#0000CC · rgb(0, 0, 204)

#0000CC is a medium vivid blue color. The closest named color is Medium Blue (#0000CD), and the closest CSS keyword is Medium Blue. In RGB it is made of 0% red, 0% green and 80% blue.

HEX#0000CC
RGBrgb(0, 0, 204)
HSLhsl(240, 100%, 40%)
HSV / HSBhsv(240, 100%, 80%)
CMYKcmyk(100%, 100%, 0%, 20%)
Decimal204
Closest CSS nameMedium Blue
Closest named colorMedium Blue (#0000CD)
Luminance4.4%
Closest Tailwindindigo-800 (#3730A3)

Open in converter Make a gradient Check contrast Pick colors from an image

Contrast & text

White text · 11.22:1 · AAA
Black text · 1.87:1 · fails
#0000CC on white · 11.22:1
#0000CC on black · 1.87:1

CSS

.text   { color: #0000CC; }
.bg     { background-color: #0000CC; }
.border { border: 2px solid #0000CC; }
.grad   { background: linear-gradient(135deg, #0000CC, #CCCC00); }

Tints of #0000CC

#1A1AD1 · #3333D6 · #4D4DDB · #6666E0 · #8080E6 · #9999EB · #B3B3F0 · #CCCCF5 · #E6E6FA

Shades of #0000CC

#0000B8 · #0000A3 · #00008F · #00007A · #000066 · #000052 · #00003D · #000029 · #000014

Color combinations

Complementary

#0000CC · #CCCC00

Analogous

#0066CC · #0000CC · #6600CC

Triadic

#0000CC · #CC0000 · #00CC00

Split complementary

#0000CC · #CC6600 · #66CC00

Tetradic

#0000CC · #CC0066 · #CCCC00 · #00CC66

Colors similar to #0000CC

#0000CC: questions & answers

What color is #0000CC?

#0000CC is a medium vivid blue. In the RGB model it is made of 0% red, 0% green and 80% blue.

What is #0000CC in RGB?

rgb(0, 0, 204). In HSL it is hsl(240, 100%, 40%), and in CMYK it is approximately cmyk(100%, 100%, 0%, 20%).

What colors go with #0000CC?

Its complementary color is #CCCC00. For a calmer scheme, try the analogous colors #0066CC and #6600CC.

Should I use white or black text on #0000CC?

White text reads better: contrast is 11.22:1 (WCAG AAA).