#2864AF Color Information

Hex color code: #2864AF

#2864AF is a tranquil blue color. In RGB it is (40, 100, 175), and in HSL it is (213°, 63%, 42%). It is widely used in graphic design.

Try:
Color NameSteel Blue
HEX
#2864AF
RGB
40, 100, 175
HSL
213°, 63%, 42%
CMYK
77%, 43%, 0%, 31%

Shades

CSS Usage
color: #2864AF;
background-color: #2864AF;
border-color: #2864AF;
box-shadow: 0 0 10px #2864AF;
border: 2px solid #2864AF;
Tailwind Usage
bg-[#2864AF]
text-[#2864AF]
border-[#2864AF]
shadow-[0_0_10px_2864AF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #2864AF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #2864AF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #2864AF; color: #FFFFFF; }

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 #2864AF; background-color: #2864AF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #2864AF20; border-left: 4px solid #2864AF; }

Link / Accent

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

a { color: #2864AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2864AF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 100, 175

Red: 40 / Green: 100 / Blue: 175

HSL

213°, 63%, 42%

Hue: 213° / Saturation: 63% / Lightness: 42%

CMYK

77%, 43%, 0%, 31%

Cyan: 77% / Magenta: 43% / Yellow: 0% / Key: 31%

What color is #2864AF?

#2864AF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2864AF to RGB:

rgb(40, 100, 175)HEX to RGB Converter →

HEX to HSL

Convert #2864AF to HSL:

hsl(213, 63%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #2864AF to CMYK:

cmyk(77%, 43%, 0%, 31%)Color Converter →

Color Meaning and Usage

#2864AF is a peaceful blue color with RGB values of 40, 100, 175 and HSL of 213°, 63%, 42%. This blue-purple hue evokes creativity and luxury, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2864AF is #AF7228, creating high-contrast pairings. For softer combinations, try analogous colors like #28A8AF.

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

Contrast with #2864AF

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

Contrast Ratio: 3.53:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2864AF?

#2864AF is a peaceful blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2864AF?

#2864AF in RGB is (40, 100, 175) - 40 red, 100 green, and 175 blue.

How to use #2864AF in CSS?

Use #2864AF directly in your CSS properties like color or background-color.

What colors go well with #2864AF?

#AF7228 (complementary), #28A8AF (analogous), and #194170 (lighter shade) work well with #2864AF.