#2F286C

Color Details

HEX
#2F286C
RGB
rgb(47, 40, 108)
HSL
hsl(246, 46%, 29%)
CMYK
cmyk(56%, 63%, 0%, 58%)
Best text on this color #FFFFFF (CR 12.80:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2F286C swatch

Embed this swatch

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

Open image

About #2F286C

#2F286C converts to RGB(47, 40, 108) and HSL(246, 46%, 29%). 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).

#2F286C FAQs

What is the RGB value of #2F286C?
RGB: 47, 40, 108. Copy as CSS: rgb(47, 40, 108)
Is #2F286C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2F286C?
Complement: #656c28.
Does #2F286C have good contrast on white or black?
On white: 12.80:1 (AAA (normal text)). On black: 1.64:1 (Fails AA).