#297CDB Color Information

Hex color code: #297CDB

A bold blue shade, #297CDB appears as (41, 124, 219) in RGB and (212°, 71%, 51%) in HSL. It is often used for branding and logos.

Try:
Color NameRoyal Blue
HEX
#297CDB
RGB
41, 124, 219
HSL
212°, 71%, 51%
CMYK
81%, 43%, 0%, 14%

Shades

CSS Usage
color: #297CDB;
background-color: #297CDB;
border-color: #297CDB;
box-shadow: 0 0 10px #297CDB;
border: 2px solid #297CDB;
Tailwind Usage
bg-[#297CDB]
text-[#297CDB]
border-[#297CDB]
shadow-[0_0_10px_297CDB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #297CDB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #297CDB; color: #000000; }

Badge

New Feature
.badge { background-color: #297CDB; 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 #297CDB; background-color: #297CDB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #297CDB20; border-left: 4px solid #297CDB; }

Link / Accent

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

a { color: #297CDB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #297CDB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

41, 124, 219

Red: 41 / Green: 124 / Blue: 219

HSL

212°, 71%, 51%

Hue: 212° / Saturation: 71% / Lightness: 51%

CMYK

81%, 43%, 0%, 14%

Cyan: 81% / Magenta: 43% / Yellow: 0% / Key: 14%

What color is #297CDB?

#297CDB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #297CDB to RGB:

rgb(41, 124, 219)HEX to RGB Converter →

HEX to HSL

Convert #297CDB to HSL:

hsl(212, 71%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #297CDB to CMYK:

cmyk(81%, 43%, 0%, 14%)Color Converter →

Color Meaning and Usage

#297CDB is a striking blue color with RGB values of 41, 124, 219 and HSL of 212°, 71%, 51%. This blue-purple hue evokes creativity and luxury, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #297CDB is #DB8829, creating high-contrast pairings. For softer combinations, try analogous colors like #29D5DB.

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

Contrast with #297CDB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #297CDB?

#297CDB is a striking blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #297CDB?

#297CDB in RGB is (41, 124, 219) - 41 red, 124 green, and 219 blue.

How to use #297CDB in CSS?

Use #297CDB directly in your CSS properties like color or background-color.

What colors go well with #297CDB?

#DB8829 (complementary), #29D5DB (analogous), and #1B579D (lighter shade) work well with #297CDB.