#05041C

Color Details

HEX
#05041C
RGB
rgb(5, 4, 28)
HSL
hsl(243, 75%, 6%)
CMYK
cmyk(82%, 86%, 0%, 89%)
Best text on this color #FFFFFF (CR 20.18:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #05041C swatch

Embed this swatch

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

Open image

About #05041C

#05041C converts to RGB(5, 4, 28) and HSL(243, 75%, 6%). 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).

#05041C FAQs

What is the RGB value of #05041C?
RGB: 5, 4, 28. Copy as CSS: rgb(5, 4, 28)
Is #05041C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #05041C?
Complement: #1a1b04.
Does #05041C have good contrast on white or black?
On white: 20.18:1 (AAA (normal text)). On black: 1.04:1 (Fails AA).