#0066CC Color Information

Hex color code: #0066CC

A eye-catching blue shade, #0066CC appears as (0, 102, 204) in RGB and (210°, 100%, 40%) in HSL. It is widely used in graphic design.

Try:
Color NameRoyal Blue
HEX
#0066CC
RGB
0, 102, 204
HSL
210°, 100%, 40%
CMYK
100%, 50%, 0%, 20%

Shades

CSS Usage
color: #0066CC;
background-color: #0066CC;
border-color: #0066CC;
box-shadow: 0 0 10px #0066CC;
border: 2px solid #0066CC;
Tailwind Usage
bg-[#0066CC]
text-[#0066CC]
border-[#0066CC]
shadow-[0_0_10px_0066CC]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #0066CC, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #0066CC; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #0066CC; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #0066CC; background-color: #0066CC15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #0066CC20; border-left: 4px solid #0066CC; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #0066CC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #0066CC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

0, 102, 204

Red: 0 / Green: 102 / Blue: 204

HSL

210°, 100%, 40%

Hue: 210° / Saturation: 100% / Lightness: 40%

CMYK

100%, 50%, 0%, 20%

Cyan: 100% / Magenta: 50% / Yellow: 0% / Key: 20%

What color is #0066CC?

#0066CC is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #0066CC to RGB:

rgb(0, 102, 204)HEX to RGB Converter →

HEX to HSL

Convert #0066CC to HSL:

hsl(210, 100%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #0066CC to CMYK:

cmyk(100%, 50%, 0%, 20%)Color Converter →

Color Meaning and Usage

#0066CC is a vivid blue color with RGB values of 0, 102, 204 and HSL of 210°, 100%, 40%. This highly saturated hue evokes energy and excitement, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #0066CC is #CC6600, creating high-contrast pairings. For softer combinations, try analogous colors like #00CCCC.

Use #0066CC in CSS: color: #0066CC or background-color: #0066CC. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #0066CC

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 3.77:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #0066CC?

#0066CC is a vivid blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #0066CC?

#0066CC in RGB is (0, 102, 204) - 0 red, 102 green, and 204 blue.

How to use #0066CC in CSS?

Use #0066CC directly in your CSS properties like color or background-color.

What colors go well with #0066CC?

#CC6600 (complementary), #00CCCC (analogous), and #004080 (lighter shade) work well with #0066CC.