#282FEB Color Information

Hex color code: #282FEB

A bold blue shade, #282FEB appears as (40, 47, 235) in RGB and (238°, 83%, 54%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameRoyal Blue
HEX
#282FEB
RGB
40, 47, 235
HSL
238°, 83%, 54%
CMYK
83%, 80%, 0%, 8%

Shades

CSS Usage
color: #282FEB;
background-color: #282FEB;
border-color: #282FEB;
box-shadow: 0 0 10px #282FEB;
border: 2px solid #282FEB;
Tailwind Usage
bg-[#282FEB]
text-[#282FEB]
border-[#282FEB]
shadow-[0_0_10px_282FEB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #282FEB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #282FEB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #282FEB; 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 #282FEB; background-color: #282FEB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #282FEB20; border-left: 4px solid #282FEB; }

Link / Accent

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

a { color: #282FEB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #282FEB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 47, 235

Red: 40 / Green: 47 / Blue: 235

HSL

238°, 83%, 54%

Hue: 238° / Saturation: 83% / Lightness: 54%

CMYK

83%, 80%, 0%, 8%

Cyan: 83% / Magenta: 80% / Yellow: 0% / Key: 8%

What color is #282FEB?

#282FEB is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #282FEB to RGB:

rgb(40, 47, 235)HEX to RGB Converter →

HEX to HSL

Convert #282FEB to HSL:

hsl(238, 83%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #282FEB to CMYK:

cmyk(83%, 80%, 0%, 8%)Color Converter →

Color Meaning and Usage

#282FEB is a eye-catching blue color with RGB values of 40, 47, 235 and HSL of 238°, 83%, 54%. This highly saturated hue evokes energy and excitement, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #282FEB is #EBE528, creating high-contrast pairings. For softer combinations, try analogous colors like #2890EB.

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

Contrast with #282FEB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #282FEB?

#282FEB is a eye-catching blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #282FEB?

#282FEB in RGB is (40, 47, 235) - 40 red, 47 green, and 235 blue.

How to use #282FEB in CSS?

Use #282FEB directly in your CSS properties like color or background-color.

What colors go well with #282FEB?

#EBE528 (complementary), #2890EB (analogous), and #1116B6 (lighter shade) work well with #282FEB.