#40AFE2 Color Information

Hex color code: #40AFE2

A dynamic blue shade, #40AFE2 appears as (64, 175, 226) in RGB and (199°, 74%, 57%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Turquoise
HEX
#40AFE2
RGB
64, 175, 226
HSL
199°, 74%, 57%
CMYK
72%, 23%, 0%, 11%

Shades

CSS Usage
color: #40AFE2;
background-color: #40AFE2;
border-color: #40AFE2;
box-shadow: 0 0 10px #40AFE2;
border: 2px solid #40AFE2;
Tailwind Usage
bg-[#40AFE2]
text-[#40AFE2]
border-[#40AFE2]
shadow-[0_0_10px_40AFE2]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #40AFE2, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #40AFE2; color: #000000; }

Badge

New Feature
.badge { background-color: #40AFE2; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #40AFE2; background-color: #40AFE215; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #40AFE220; border-left: 4px solid #40AFE2; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #40AFE2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #40AFE2 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 175, 226

Red: 64 / Green: 175 / Blue: 226

HSL

199°, 74%, 57%

Hue: 199° / Saturation: 74% / Lightness: 57%

CMYK

72%, 23%, 0%, 11%

Cyan: 72% / Magenta: 23% / Yellow: 0% / Key: 11%

What color is #40AFE2?

#40AFE2 is a cyan-blue hue associated with trust and professionalism.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40AFE2 to RGB:

rgb(64, 175, 226)HEX to RGB Converter →

HEX to HSL

Convert #40AFE2 to HSL:

hsl(199, 74%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #40AFE2 to CMYK:

cmyk(72%, 23%, 0%, 11%)Color Converter →

Color Meaning and Usage

#40AFE2 is a bold blue color with RGB values of 64, 175, 226 and HSL of 199°, 74%, 57%. This cyan-blue hue evokes trust and professionalism, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40AFE2 is #E27440, creating high-contrast pairings. For softer combinations, try analogous colors like #40E2C5.

Use #40AFE2 in CSS: color: #40AFE2 or background-color: #40AFE2. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #40AFE2

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 8.45:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40AFE2?

#40AFE2 is a bold blue color - a cyan-blue hue that evokes trust and professionalism.

What is the RGB value of #40AFE2?

#40AFE2 in RGB is (64, 175, 226) - 64 red, 175 green, and 226 blue.

How to use #40AFE2 in CSS?

Use #40AFE2 directly in your CSS properties like color or background-color.

What colors go well with #40AFE2?

#E27440 (complementary), #40E2C5 (analogous), and #1C88BA (lighter shade) work well with #40AFE2.