#312C8C
Color Details
HEX
#312C8C
RGB
rgb(49, 44, 140)
HSL
hsl(243, 52%, 36%)
CMYK
cmyk(65%, 69%, 0%, 45%)
Best text on this color
#FFFFFF (CR 11.23:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #312C8C
#312C8C converts to RGB(49, 44, 140) and HSL(243, 52%, 36%). 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).
#312C8C FAQs
What is the RGB value of #312C8C?
RGB: 49, 44, 140. Copy as CSS:
rgb(49, 44, 140)
Is #312C8C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #312C8C?
Complement: #878c2c.
Does #312C8C have good contrast on white or black?
On white: 11.23:1 (AAA (normal text)).
On black: 1.87:1 (Fails AA).