#1F45DB Color Information

Hex color code: #1F45DB

A eye-catching blue shade, #1F45DB appears as (31, 69, 219) in RGB and (228°, 75%, 49%) in HSL. It is popular in mobile app design.

Try:
Color NameRoyal Blue
HEX
#1F45DB
RGB
31, 69, 219
HSL
228°, 75%, 49%
CMYK
86%, 68%, 0%, 14%

Shades

CSS Usage
color: #1F45DB;
background-color: #1F45DB;
border-color: #1F45DB;
box-shadow: 0 0 10px #1F45DB;
border: 2px solid #1F45DB;
Tailwind Usage
bg-[#1F45DB]
text-[#1F45DB]
border-[#1F45DB]
shadow-[0_0_10px_1F45DB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #1F45DB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #1F45DB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #1F45DB; 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 #1F45DB; background-color: #1F45DB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #1F45DB20; border-left: 4px solid #1F45DB; }

Link / Accent

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

a { color: #1F45DB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #1F45DB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

31, 69, 219

Red: 31 / Green: 69 / Blue: 219

HSL

228°, 75%, 49%

Hue: 228° / Saturation: 75% / Lightness: 49%

CMYK

86%, 68%, 0%, 14%

Cyan: 86% / Magenta: 68% / Yellow: 0% / Key: 14%

What color is #1F45DB?

#1F45DB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1F45DB to RGB:

rgb(31, 69, 219)HEX to RGB Converter →

HEX to HSL

Convert #1F45DB to HSL:

hsl(228, 75%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #1F45DB to CMYK:

cmyk(86%, 68%, 0%, 14%)Color Converter →

Color Meaning and Usage

#1F45DB is a eye-catching blue color with RGB values of 31, 69, 219 and HSL of 228°, 75%, 49%. This blue-purple hue evokes creativity and luxury, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1F45DB is #DBB51F, creating high-contrast pairings. For softer combinations, try analogous colors like #1FA2DB.

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

Contrast with #1F45DB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1F45DB?

#1F45DB is a eye-catching blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #1F45DB?

#1F45DB in RGB is (31, 69, 219) - 31 red, 69 green, and 219 blue.

How to use #1F45DB in CSS?

Use #1F45DB directly in your CSS properties like color or background-color.

What colors go well with #1F45DB?

#DBB51F (complementary), #1FA2DB (analogous), and #163098 (lighter shade) work well with #1F45DB.