#062DCC

Color Details

HEX
#062DCC
RGB
rgb(6, 45, 204)
HSL
hsl(228, 94%, 41%)
CMYK
cmyk(97%, 78%, 0%, 20%)
Best text on this color #FFFFFF (CR 9.31:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #062DCC swatch

Embed this swatch

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

Open image

About #062DCC

#062DCC converts to RGB(6, 45, 204) and HSL(228, 94%, 41%). 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).

#062DCC FAQs

What is the RGB value of #062DCC?
RGB: 6, 45, 204. Copy as CSS: rgb(6, 45, 204)
Is #062DCC a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #062DCC?
Complement: #cba406.
Does #062DCC have good contrast on white or black?
On white: 9.31:1 (AAA (normal text)). On black: 2.26:1 (Fails AA).