#40A8FC

Color Details

HEX
#40A8FC
RGB
rgb(64, 168, 252)
HSL
hsl(207, 97%, 62%)
CMYK
cmyk(75%, 33%, 0%, 1%)
Best text on this color #000000 (CR 8.22:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #40A8FC swatch

Embed this swatch

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

Open image

About #40A8FC

#40A8FC converts to RGB(64, 168, 252) and HSL(207, 97%, 62%). 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).

#40A8FC FAQs

What is the RGB value of #40A8FC?
RGB: 64, 168, 252. Copy as CSS: rgb(64, 168, 252)
Is #40A8FC a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #40A8FC?
Complement: #fc9540.
Does #40A8FC have good contrast on white or black?
On white: 2.55:1 (Fails AA). On black: 8.22:1 (AAA (normal text)).