#2F1B8F

Color Details

HEX
#2F1B8F
RGB
rgb(47, 27, 143)
HSL
hsl(250, 68%, 33%)
CMYK
cmyk(67%, 81%, 0%, 44%)
Best text on this color #FFFFFF (CR 12.54:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2F1B8F swatch

Embed this swatch

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

Open image

About #2F1B8F

#2F1B8F converts to RGB(47, 27, 143) and HSL(250, 68%, 33%). 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).

#2F1B8F FAQs

What is the RGB value of #2F1B8F?
RGB: 47, 27, 143. Copy as CSS: rgb(47, 27, 143)
Is #2F1B8F a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2F1B8F?
Complement: #7a8d1b.
Does #2F1B8F have good contrast on white or black?
On white: 12.54:1 (AAA (normal text)). On black: 1.67:1 (Fails AA).