#287ACC Color Information

Hex color code: #287ACC

#287ACC is a tranquil blue color. In RGB it is (40, 122, 204), and in HSL it is (210°, 67%, 48%). It is widely used in graphic design.

Try:
Color NameRoyal Blue
HEX
#287ACC
RGB
40, 122, 204
HSL
210°, 67%, 48%
CMYK
80%, 40%, 0%, 20%

Shades

CSS Usage
color: #287ACC;
background-color: #287ACC;
border-color: #287ACC;
box-shadow: 0 0 10px #287ACC;
border: 2px solid #287ACC;
Tailwind Usage
bg-[#287ACC]
text-[#287ACC]
border-[#287ACC]
shadow-[0_0_10px_287ACC]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #287ACC, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #287ACC; color: #000000; }

Badge

New Feature
.badge { background-color: #287ACC; 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 #287ACC; background-color: #287ACC15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #287ACC20; border-left: 4px solid #287ACC; }

Link / Accent

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

a { color: #287ACC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #287ACC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 122, 204

Red: 40 / Green: 122 / Blue: 204

HSL

210°, 67%, 48%

Hue: 210° / Saturation: 67% / Lightness: 48%

CMYK

80%, 40%, 0%, 20%

Cyan: 80% / Magenta: 40% / Yellow: 0% / Key: 20%

What color is #287ACC?

#287ACC is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #287ACC to RGB:

rgb(40, 122, 204)HEX to RGB Converter →

HEX to HSL

Convert #287ACC to HSL:

hsl(210, 67%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #287ACC to CMYK:

cmyk(80%, 40%, 0%, 20%)Color Converter →

Color Meaning and Usage

#287ACC is a cool blue color with RGB values of 40, 122, 204 and HSL of 210°, 67%, 48%. 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 #287ACC is #CC7A28, creating high-contrast pairings. For softer combinations, try analogous colors like #28CCCC.

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

Contrast with #287ACC

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

Contrast Ratio: 4.75:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #287ACC?

#287ACC is a cool blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #287ACC?

#287ACC in RGB is (40, 122, 204) - 40 red, 122 green, and 204 blue.

How to use #287ACC in CSS?

Use #287ACC directly in your CSS properties like color or background-color.

What colors go well with #287ACC?

#CC7A28 (complementary), #28CCCC (analogous), and #1C548D (lighter shade) work well with #287ACC.