#285AAB Color Information

Hex color code: #285AAB

The hex color #285AAB is a calming blue with RGB values of (40, 90, 171) and HSL of (217°, 62%, 41%). It is frequently seen in web interfaces.

Try:
Color NameSteel Blue
HEX
#285AAB
RGB
40, 90, 171
HSL
217°, 62%, 41%
CMYK
77%, 47%, 0%, 33%

Shades

CSS Usage
color: #285AAB;
background-color: #285AAB;
border-color: #285AAB;
box-shadow: 0 0 10px #285AAB;
border: 2px solid #285AAB;
Tailwind Usage
bg-[#285AAB]
text-[#285AAB]
border-[#285AAB]
shadow-[0_0_10px_285AAB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #285AAB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #285AAB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #285AAB; 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 #285AAB; background-color: #285AAB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #285AAB20; border-left: 4px solid #285AAB; }

Link / Accent

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

a { color: #285AAB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #285AAB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 90, 171

Red: 40 / Green: 90 / Blue: 171

HSL

217°, 62%, 41%

Hue: 217° / Saturation: 62% / Lightness: 41%

CMYK

77%, 47%, 0%, 33%

Cyan: 77% / Magenta: 47% / Yellow: 0% / Key: 33%

What color is #285AAB?

#285AAB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #285AAB to RGB:

rgb(40, 90, 171)HEX to RGB Converter →

HEX to HSL

Convert #285AAB to HSL:

hsl(217, 62%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #285AAB to CMYK:

cmyk(77%, 47%, 0%, 33%)Color Converter →

Color Meaning and Usage

A calming blue tone, #285AAB has RGB (40, 90, 171) and HSL (217°, 62%, 41%). Known for evoking creativity and luxury, this blue-purple hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #285AAB is #A97828, creating high-contrast pairings. For softer combinations, try analogous colors like #289AA9.

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

Contrast with #285AAB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #285AAB?

#285AAB is a calming blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #285AAB?

#285AAB in RGB is (40, 90, 171) - 40 red, 90 green, and 171 blue.

How to use #285AAB in CSS?

Use #285AAB directly in your CSS properties like color or background-color.

What colors go well with #285AAB?

#A97828 (complementary), #289AA9 (analogous), and #19396B (lighter shade) work well with #285AAB.