#2A013C

Color Details

HEX
#2A013C
RGB
rgb(42, 1, 60)
HSL
hsl(282, 97%, 12%)
CMYK
cmyk(30%, 98%, 0%, 76%)
Best text on this color #FFFFFF (CR 17.98:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2A013C swatch

Embed this swatch

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

Open image

About #2A013C

#2A013C converts to RGB(42, 1, 60) and HSL(282, 97%, 12%). 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).

#2A013C FAQs

What is the RGB value of #2A013C?
RGB: 42, 1, 60. Copy as CSS: rgb(42, 1, 60)
Is #2A013C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2A013C?
Complement: #133c01.
Does #2A013C have good contrast on white or black?
On white: 17.98:1 (AAA (normal text)). On black: 1.17:1 (Fails AA).