#124DBA Color Information

Hex color code: #124DBA

The hex color #124DBA is a dynamic blue with RGB values of (18, 77, 186) and HSL of (219°, 82%, 40%). It is typically applied in digital products.

Try:
Color NameRoyal Blue
HEX
#124DBA
RGB
18, 77, 186
HSL
219°, 82%, 40%
CMYK
90%, 59%, 0%, 27%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #124DBA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #124DBA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #124DBA; 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 #124DBA; background-color: #124DBA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #124DBA20; border-left: 4px solid #124DBA; }

Link / Accent

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

a { color: #124DBA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #124DBA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 77, 186

Red: 18 / Green: 77 / Blue: 186

HSL

219°, 82%, 40%

Hue: 219° / Saturation: 82% / Lightness: 40%

CMYK

90%, 59%, 0%, 27%

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

What color is #124DBA?

#124DBA is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #124DBA to RGB:

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

HEX to HSL

Convert #124DBA to HSL:

hsl(219, 82%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #124DBA to CMYK:

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

Color Meaning and Usage

A dynamic blue tone, #124DBA has RGB (18, 77, 186) and HSL (219°, 82%, 40%). Known for evoking energy and excitement, this highly saturated hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #124DBA is #BA7F12, creating high-contrast pairings. For softer combinations, try analogous colors like #12A1BA.

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

Contrast with #124DBA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #124DBA?

#124DBA is a dynamic blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #124DBA?

#124DBA in RGB is (18, 77, 186) - 18 red, 77 green, and 186 blue.

How to use #124DBA in CSS?

Use #124DBA directly in your CSS properties like color or background-color.

What colors go well with #124DBA?

#BA7F12 (complementary), #12A1BA (analogous), and #0B3074 (lighter shade) work well with #124DBA.