#2F5A9F
Color Details
HEX
#2F5A9F
RGB
rgb(47, 90, 159)
HSL
hsl(217, 54%, 40%)
CMYK
cmyk(70%, 43%, 0%, 38%)
Best text on this color
#FFFFFF (CR 6.81:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #2F5A9F
#2F5A9F converts to RGB(47, 90, 159) and HSL(217, 54%, 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).
#2F5A9F FAQs
What is the RGB value of #2F5A9F?
RGB: 47, 90, 159. Copy as CSS:
rgb(47, 90, 159)
Is #2F5A9F a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2F5A9F?
Complement: #9d732f.
Does #2F5A9F have good contrast on white or black?
On white: 6.81:1 (AA (normal text)).
On black: 3.08:1 (AA (large text)).