#0028C5

Color Details

HEX
#0028C5
RGB
rgb(0, 40, 197)
HSL
hsl(228, 100%, 39%)
CMYK
cmyk(100%, 80%, 0%, 23%)
Best text on this color #FFFFFF (CR 9.95:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #0028C5 swatch

Embed this swatch

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

Open image

About #0028C5

#0028C5 converts to RGB(0, 40, 197) and HSL(228, 100%, 39%). 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).

#0028C5 FAQs

What is the RGB value of #0028C5?
RGB: 0, 40, 197. Copy as CSS: rgb(0, 40, 197)
Is #0028C5 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #0028C5?
Complement: #c79f00.
Does #0028C5 have good contrast on white or black?
On white: 9.95:1 (AAA (normal text)). On black: 2.11:1 (Fails AA).