#2F15AB

Color Details

HEX
#2F15AB
RGB
rgb(47, 21, 171)
HSL
hsl(250, 78%, 38%)
CMYK
cmyk(73%, 88%, 0%, 33%)
Best text on this color #FFFFFF (CR 11.56:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2F15AB swatch

Embed this swatch

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

Open image

About #2F15AB

#2F15AB converts to RGB(47, 21, 171) and HSL(250, 78%, 38%). 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).

#2F15AB FAQs

What is the RGB value of #2F15AB?
RGB: 47, 21, 171. Copy as CSS: rgb(47, 21, 171)
Is #2F15AB a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2F15AB?
Complement: #93ac15.
Does #2F15AB have good contrast on white or black?
On white: 11.56:1 (AAA (normal text)). On black: 1.82:1 (Fails AA).