#2A00B3

Color Details

HEX
#2A00B3
RGB
rgb(42, 0, 179)
HSL
hsl(254, 100%, 35%)
CMYK
cmyk(77%, 100%, 0%, 30%)
Best text on this color #FFFFFF (CR 12.00:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2A00B3 swatch

Embed this swatch

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

Open image

About #2A00B3

#2A00B3 converts to RGB(42, 0, 179) and HSL(254, 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).

#2A00B3 FAQs

What is the RGB value of #2A00B3?
RGB: 42, 0, 179. Copy as CSS: rgb(42, 0, 179)
Is #2A00B3 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2A00B3?
Complement: #89b300.
Does #2A00B3 have good contrast on white or black?
On white: 12.00:1 (AAA (normal text)). On black: 1.75:1 (Fails AA).