#5F628C

Color Details

HEX
#5F628C
RGB
rgb(95, 98, 140)
HSL
hsl(236, 19%, 46%)
CMYK
cmyk(32%, 30%, 0%, 45%)
Best text on this color #FFFFFF (CR 5.81:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #5F628C swatch

Embed this swatch

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

Open image

About #5F628C

#5F628C converts to RGB(95, 98, 140) and HSL(236, 19%, 46%). 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).

#5F628C FAQs

What is the RGB value of #5F628C?
RGB: 95, 98, 140. Copy as CSS: rgb(95, 98, 140)
Is #5F628C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #5F628C?
Complement: #8c895f.
Does #5F628C have good contrast on white or black?
On white: 5.81:1 (AA (normal text)). On black: 3.61:1 (AA (large text)).