#31223C

Color Details

HEX
#31223C
RGB
rgb(49, 34, 60)
HSL
hsl(275, 28%, 18%)
CMYK
cmyk(18%, 43%, 0%, 76%)
Best text on this color #FFFFFF (CR 14.74:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #31223C swatch

Embed this swatch

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

Open image

About #31223C

#31223C converts to RGB(49, 34, 60) and HSL(275, 28%, 18%). 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).

#31223C FAQs

What is the RGB value of #31223C?
RGB: 49, 34, 60. Copy as CSS: rgb(49, 34, 60)
Is #31223C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #31223C?
Complement: #2c3b21.
Does #31223C have good contrast on white or black?
On white: 14.74:1 (AAA (normal text)). On black: 1.42:1 (Fails AA).