#2F15CC

Color Details

HEX
#2F15CC
RGB
rgb(47, 21, 204)
HSL
hsl(249, 81%, 44%)
CMYK
cmyk(77%, 90%, 0%, 20%)
Best text on this color #FFFFFF (CR 10.00:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2F15CC swatch

Embed this swatch

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

Open image

About #2F15CC

#2F15CC converts to RGB(47, 21, 204) and HSL(249, 81%, 44%). 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).

#2F15CC FAQs

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