#286DCC Color Information

Hex color code: #286DCC

The hex color #286DCC is a cool blue with RGB values of (40, 109, 204) and HSL of (215°, 67%, 48%). It is commonly used in modern UI design.

Try:
Color NameRoyal Blue
HEX
#286DCC
RGB
40, 109, 204
HSL
215°, 67%, 48%
CMYK
80%, 47%, 0%, 20%

Shades

CSS Usage
color: #286DCC;
background-color: #286DCC;
border-color: #286DCC;
box-shadow: 0 0 10px #286DCC;
border: 2px solid #286DCC;
Tailwind Usage
bg-[#286DCC]
text-[#286DCC]
border-[#286DCC]
shadow-[0_0_10px_286DCC]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #286DCC, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #286DCC; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #286DCC; 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 #286DCC; background-color: #286DCC15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #286DCC20; border-left: 4px solid #286DCC; }

Link / Accent

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

a { color: #286DCC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #286DCC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 109, 204

Red: 40 / Green: 109 / Blue: 204

HSL

215°, 67%, 48%

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

CMYK

80%, 47%, 0%, 20%

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

What color is #286DCC?

#286DCC is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #286DCC to RGB:

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

HEX to HSL

Convert #286DCC to HSL:

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

HEX to CMYK

Convert #286DCC to CMYK:

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

Color Meaning and Usage

A calming blue tone, #286DCC has RGB (40, 109, 204) and HSL (215°, 67%, 48%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #286DCC is #CC8828, creating high-contrast pairings. For softer combinations, try analogous colors like #28BFCC.

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

Contrast with #286DCC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #286DCC?

#286DCC is a calming blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #286DCC?

#286DCC in RGB is (40, 109, 204) - 40 red, 109 green, and 204 blue.

How to use #286DCC in CSS?

Use #286DCC directly in your CSS properties like color or background-color.

What colors go well with #286DCC?

#CC8828 (complementary), #28BFCC (analogous), and #1C4B8D (lighter shade) work well with #286DCC.