#2F00CC
Color Details
HEX
#2F00CC
RGB
rgb(47, 0, 204)
HSL
hsl(254, 100%, 40%)
CMYK
cmyk(77%, 100%, 0%, 20%)
Best text on this color
#FFFFFF (CR 10.54:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #2F00CC
#2F00CC converts to RGB(47, 0, 204) and HSL(254, 100%, 40%). 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).
#2F00CC FAQs
What is the RGB value of #2F00CC?
RGB: 47, 0, 204. Copy as CSS:
rgb(47, 0, 204)
Is #2F00CC a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2F00CC?
Complement: #9ccc00.
Does #2F00CC have good contrast on white or black?
On white: 10.54:1 (AAA (normal text)).
On black: 1.99:1 (Fails AA).