#1831BF Color Information

Hex color code: #1831BF

A eye-catching blue shade, #1831BF appears as (24, 49, 191) in RGB and (231°, 78%, 42%) in HSL. It is popular in mobile app design.

Try:
Color NameDark Slate Blue
HEX
#1831BF
RGB
24, 49, 191
HSL
231°, 78%, 42%
CMYK
87%, 74%, 0%, 25%

Shades

CSS Usage
color: #1831BF;
background-color: #1831BF;
border-color: #1831BF;
box-shadow: 0 0 10px #1831BF;
border: 2px solid #1831BF;
Tailwind Usage
bg-[#1831BF]
text-[#1831BF]
border-[#1831BF]
shadow-[0_0_10px_1831BF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #1831BF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #1831BF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #1831BF; 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 #1831BF; background-color: #1831BF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #1831BF20; border-left: 4px solid #1831BF; }

Link / Accent

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

a { color: #1831BF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #1831BF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

24, 49, 191

Red: 24 / Green: 49 / Blue: 191

HSL

231°, 78%, 42%

Hue: 231° / Saturation: 78% / Lightness: 42%

CMYK

87%, 74%, 0%, 25%

Cyan: 87% / Magenta: 74% / Yellow: 0% / Key: 25%

What color is #1831BF?

#1831BF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1831BF to RGB:

rgb(24, 49, 191)HEX to RGB Converter →

HEX to HSL

Convert #1831BF to HSL:

hsl(231, 78%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #1831BF to CMYK:

cmyk(87%, 74%, 0%, 25%)Color Converter →

Color Meaning and Usage

#1831BF is a vivid blue color with RGB values of 24, 49, 191 and HSL of 231°, 78%, 42%. 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 #1831BF is #BFA618, creating high-contrast pairings. For softer combinations, try analogous colors like #1884BF.

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

Contrast with #1831BF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1831BF?

#1831BF is a vivid blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #1831BF?

#1831BF in RGB is (24, 49, 191) - 24 red, 49 green, and 191 blue.

How to use #1831BF in CSS?

Use #1831BF directly in your CSS properties like color or background-color.

What colors go well with #1831BF?

#BFA618 (complementary), #1884BF (analogous), and #0F1F7B (lighter shade) work well with #1831BF.