#0000CC

A medium, vivid blue closely aligning with Mediumblue.

About #0000CC

When working with digital screens, the color #0000CC is rendered by mixing light. If you're using CSS, you might find it aligns closely with Mediumblue. In the RGB color space, it consists of 0 red, 0 green, and 204 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 100% C, 100% M, 0% Y, and 20% K. This makes it a relatively light color when applied to physical surfaces.

Ensuring your text is legible against this background is a key part of web design. Because it is a medium color, it is generally recommended to use #FFFFFF text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#0000CC
RGB0, 0, 204
HSL240.0°, 100.0%, 40.0%
CMYK100%, 100%, 0%, 20%
HSV240.0°, 100.0%, 80.0%
LAB24.8, 66.9, -91.2
XYZ10.9, 4.4, 57.4
Decimal204

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

11.22:1
Text on #FFFFFF
AAA
1.87:1
Text on #000000
FAIL
10.72:1
Text on #F8FAFC
AAA
1.59:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #0000CC; }
.text-color { color: #0000CC; }
.border-color { border: 2px solid #0000CC; }

Similar Colors

Mediumblue
#0000CD