#0052CC

Color Details

HEX
#0052CC
RGB
rgb(0, 82, 204)
HSL
hsl(216, 100%, 40%)
CMYK
cmyk(100%, 60%, 0%, 20%)
Best text on this color #FFFFFF (CR 6.82:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #0052CC swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #0052CC

#0052CC converts to RGB(0, 82, 204) and HSL(216, 100%, 40%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#0052CC FAQs

What is the RGB value of #0052CC?
RGB: 0, 82, 204. Copy as CSS: rgb(0, 82, 204)
Is #0052CC a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #0052CC?
Complement: #cc7a00.
Does #0052CC have good contrast on white or black?
On white: 6.82:1 (AA (normal text)). On black: 3.08:1 (AA (large text)).