#05071C

Color Details

HEX
#05071C
RGB
rgb(5, 7, 28)
HSL
hsl(235, 70%, 6%)
CMYK
cmyk(82%, 75%, 0%, 89%)
Best text on this color #FFFFFF (CR 19.93:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #05071C swatch

Embed this swatch

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

Open image

About #05071C

#05071C converts to RGB(5, 7, 28) and HSL(235, 70%, 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).

#05071C FAQs

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