#2C4DBA Color Information

Hex color code: #2C4DBA

A peaceful blue shade, #2C4DBA appears as (44, 77, 186) in RGB and (226°, 62%, 45%) in HSL. It is typically applied in digital products.

Try:
Color NameRoyal Blue
HEX
#2C4DBA
RGB
44, 77, 186
HSL
226°, 62%, 45%
CMYK
76%, 59%, 0%, 27%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #2C4DBA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #2C4DBA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #2C4DBA; 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 #2C4DBA; background-color: #2C4DBA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #2C4DBA20; border-left: 4px solid #2C4DBA; }

Link / Accent

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

a { color: #2C4DBA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2C4DBA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

44, 77, 186

Red: 44 / Green: 77 / Blue: 186

HSL

226°, 62%, 45%

Hue: 226° / Saturation: 62% / Lightness: 45%

CMYK

76%, 59%, 0%, 27%

Cyan: 76% / Magenta: 59% / Yellow: 0% / Key: 27%

What color is #2C4DBA?

#2C4DBA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2C4DBA to RGB:

rgb(44, 77, 186)HEX to RGB Converter →

HEX to HSL

Convert #2C4DBA to HSL:

hsl(226, 62%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #2C4DBA to CMYK:

cmyk(76%, 59%, 0%, 27%)Color Converter →

Color Meaning and Usage

A cool blue tone, #2C4DBA has RGB (44, 77, 186) and HSL (226°, 62%, 45%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2C4DBA is #BA992C, creating high-contrast pairings. For softer combinations, try analogous colors like #2C94BA.

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

Contrast with #2C4DBA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2C4DBA?

#2C4DBA is a cool blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2C4DBA?

#2C4DBA in RGB is (44, 77, 186) - 44 red, 77 green, and 186 blue.

How to use #2C4DBA in CSS?

Use #2C4DBA directly in your CSS properties like color or background-color.

What colors go well with #2C4DBA?

#BA992C (complementary), #2C94BA (analogous), and #1D337C (lighter shade) work well with #2C4DBA.