#1F25DB Color Information

Hex color code: #1F25DB

#1F25DB is a vivid blue color. In RGB it is (31, 37, 219), and in HSL it is (238°, 75%, 49%). It is commonly used in modern UI design.

Try:
Color NameBlue
HEX
#1F25DB
RGB
31, 37, 219
HSL
238°, 75%, 49%
CMYK
86%, 83%, 0%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #1F25DB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

31, 37, 219

Red: 31 / Green: 37 / Blue: 219

HSL

238°, 75%, 49%

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

CMYK

86%, 83%, 0%, 14%

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

What color is #1F25DB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1F25DB to RGB:

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

HEX to HSL

Convert #1F25DB to HSL:

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

HEX to CMYK

Convert #1F25DB to CMYK:

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

Color Meaning and Usage

A eye-catching blue tone, #1F25DB has RGB (31, 37, 219) and HSL (238°, 75%, 49%). Known for evoking creativity and luxury, this blue-purple hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1F25DB is #DBD41F, creating high-contrast pairings. For softer combinations, try analogous colors like #1F83DB.

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

Contrast with #1F25DB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1F25DB?

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

What is the RGB value of #1F25DB?

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

How to use #1F25DB in CSS?

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

What colors go well with #1F25DB?

#DBD41F (complementary), #1F83DB (analogous), and #161A98 (lighter shade) work well with #1F25DB.