#0028B5

Color Details

HEX
#0028B5
RGB
rgb(0, 40, 181)
HSL
hsl(227, 100%, 35%)
CMYK
cmyk(100%, 78%, 0%, 29%)
Best text on this color #FFFFFF (CR 10.66:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #0028B5 swatch

Embed this swatch

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

Open image

About #0028B5

#0028B5 converts to RGB(0, 40, 181) and HSL(227, 100%, 35%). 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).

#0028B5 FAQs

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