#5F7DF1 Color Information

Hex color code: #5F7DF1

The hex color #5F7DF1 is a eye-catching blue with RGB values of (95, 125, 241) and HSL of (228°, 84%, 66%). It is widely used in graphic design.

Try:
Color NameCornflower Blue
HEX
#5F7DF1
RGB
95, 125, 241
HSL
228°, 84%, 66%
CMYK
61%, 48%, 0%, 5%

Shades

CSS Usage
color: #5F7DF1;
background-color: #5F7DF1;
border-color: #5F7DF1;
box-shadow: 0 0 10px #5F7DF1;
border: 2px solid #5F7DF1;
Tailwind Usage
bg-[#5F7DF1]
text-[#5F7DF1]
border-[#5F7DF1]
shadow-[0_0_10px_5F7DF1]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #5F7DF1, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #5F7DF1; color: #000000; }

Badge

New Feature
.badge { background-color: #5F7DF1; color: #000000; }

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 #5F7DF1; background-color: #5F7DF115; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #5F7DF120; border-left: 4px solid #5F7DF1; }

Link / Accent

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

a { color: #5F7DF1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5F7DF1 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

95, 125, 241

Red: 95 / Green: 125 / Blue: 241

HSL

228°, 84%, 66%

Hue: 228° / Saturation: 84% / Lightness: 66%

CMYK

61%, 48%, 0%, 5%

Cyan: 61% / Magenta: 48% / Yellow: 0% / Key: 5%

What color is #5F7DF1?

#5F7DF1 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5F7DF1 to RGB:

rgb(95, 125, 241)HEX to RGB Converter →

HEX to HSL

Convert #5F7DF1 to HSL:

hsl(228, 84%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #5F7DF1 to CMYK:

cmyk(61%, 48%, 0%, 5%)Color Converter →

Color Meaning and Usage

A eye-catching blue tone, #5F7DF1 has RGB (95, 125, 241) and HSL (228°, 84%, 66%). Known for evoking energy and excitement, this highly saturated hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5F7DF1 is #F1D45F, creating high-contrast pairings. For softer combinations, try analogous colors like #5FC5F1.

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

Contrast with #5F7DF1

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

Contrast Ratio: 5.69:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5F7DF1?

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

What is the RGB value of #5F7DF1?

#5F7DF1 in RGB is (95, 125, 241) - 95 red, 125 green, and 241 blue.

How to use #5F7DF1 in CSS?

Use #5F7DF1 directly in your CSS properties like color or background-color.

What colors go well with #5F7DF1?

#F1D45F (complementary), #5FC5F1 (analogous), and #1943EB (lighter shade) work well with #5F7DF1.