#40409C

Color Details

HEX
#40409C
RGB
rgb(64, 64, 156)
HSL
hsl(240, 42%, 43%)
CMYK
cmyk(59%, 59%, 0%, 39%)
Best text on this color #FFFFFF (CR 8.64:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #40409C swatch

Embed this swatch

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

Open image

About #40409C

#40409C converts to RGB(64, 64, 156) and HSL(240, 42%, 43%). 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).

#40409C FAQs

What is the RGB value of #40409C?
RGB: 64, 64, 156. Copy as CSS: rgb(64, 64, 156)
Is #40409C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #40409C?
Complement: #9c9c40.
Does #40409C have good contrast on white or black?
On white: 8.64:1 (AAA (normal text)). On black: 2.43:1 (Fails AA).