#1740BA Color Information

Hex color code: #1740BA

The hex color #1740BA is a vivid blue with RGB values of (23, 64, 186) and HSL of (225°, 78%, 41%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Blue
HEX
#1740BA
RGB
23, 64, 186
HSL
225°, 78%, 41%
CMYK
88%, 66%, 0%, 27%

Shades

CSS Usage
color: #1740BA;
background-color: #1740BA;
border-color: #1740BA;
box-shadow: 0 0 10px #1740BA;
border: 2px solid #1740BA;
Tailwind Usage
bg-[#1740BA]
text-[#1740BA]
border-[#1740BA]
shadow-[0_0_10px_1740BA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #1740BA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #1740BA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #1740BA; 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 #1740BA; background-color: #1740BA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #1740BA20; border-left: 4px solid #1740BA; }

Link / Accent

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

a { color: #1740BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #1740BA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

23, 64, 186

Red: 23 / Green: 64 / Blue: 186

HSL

225°, 78%, 41%

Hue: 225° / Saturation: 78% / Lightness: 41%

CMYK

88%, 66%, 0%, 27%

Cyan: 88% / Magenta: 66% / Yellow: 0% / Key: 27%

What color is #1740BA?

#1740BA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1740BA to RGB:

rgb(23, 64, 186)HEX to RGB Converter →

HEX to HSL

Convert #1740BA to HSL:

hsl(225, 78%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #1740BA to CMYK:

cmyk(88%, 66%, 0%, 27%)Color Converter →

Color Meaning and Usage

#1740BA is a vivid blue color with RGB values of 23, 64, 186 and HSL of 225°, 78%, 41%. This blue-purple hue evokes creativity and luxury, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1740BA is #BA9117, creating high-contrast pairings. For softer combinations, try analogous colors like #1791BA.

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

Contrast with #1740BA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1740BA?

#1740BA is a vivid blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #1740BA?

#1740BA in RGB is (23, 64, 186) - 23 red, 64 green, and 186 blue.

How to use #1740BA in CSS?

Use #1740BA directly in your CSS properties like color or background-color.

What colors go well with #1740BA?

#BA9117 (complementary), #1791BA (analogous), and #0F2876 (lighter shade) work well with #1740BA.