#285DBA Color Information

Hex color code: #285DBA

#285DBA is a cool blue color. In RGB it is (40, 93, 186), and in HSL it is (218°, 65%, 44%). It is commonly used in modern UI design.

Try:
Color NameRoyal Blue
HEX
#285DBA
RGB
40, 93, 186
HSL
218°, 65%, 44%
CMYK
78%, 50%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #285DBA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 93, 186

Red: 40 / Green: 93 / Blue: 186

HSL

218°, 65%, 44%

Hue: 218° / Saturation: 65% / Lightness: 44%

CMYK

78%, 50%, 0%, 27%

Cyan: 78% / Magenta: 50% / Yellow: 0% / Key: 27%

What color is #285DBA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #285DBA to RGB:

rgb(40, 93, 186)HEX to RGB Converter →

HEX to HSL

Convert #285DBA to HSL:

hsl(218, 65%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #285DBA to CMYK:

cmyk(78%, 50%, 0%, 27%)Color Converter →

Color Meaning and Usage

A cool blue tone, #285DBA has RGB (40, 93, 186) and HSL (218°, 65%, 44%). Known for evoking creativity and luxury, this blue-purple hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #285DBA is #B98427, creating high-contrast pairings. For softer combinations, try analogous colors like #27A6B9.

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

Contrast with #285DBA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #285DBA?

#285DBA is a cool blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #285DBA?

#285DBA in RGB is (40, 93, 186) - 40 red, 93 green, and 186 blue.

How to use #285DBA in CSS?

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

What colors go well with #285DBA?

#B98427 (complementary), #27A6B9 (analogous), and #1A3D7A (lighter shade) work well with #285DBA.