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