#5A638C
Color Details
HEX
#5A638C
RGB
rgb(90, 99, 140)
HSL
hsl(229, 22%, 45%)
CMYK
cmyk(36%, 29%, 0%, 45%)
Best text on this color
#FFFFFF (CR 5.84:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #5A638C
#5A638C converts to RGB(90, 99, 140) and HSL(229, 22%, 45%). 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).
#5A638C FAQs
What is the RGB value of #5A638C?
RGB: 90, 99, 140. Copy as CSS:
rgb(90, 99, 140)
Is #5A638C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #5A638C?
Complement: #8c835a.
Does #5A638C have good contrast on white or black?
On white: 5.84:1 (AA (normal text)).
On black: 3.60:1 (AA (large text)).