#124EB5 Color Information

Hex color code: #124EB5

#124EB5 is a bold blue color. In RGB it is (18, 78, 181), and in HSL it is (218°, 82%, 39%). It is frequently seen in web interfaces.

Try:
Color NameRoyal Blue
HEX
#124EB5
RGB
18, 78, 181
HSL
218°, 82%, 39%
CMYK
90%, 57%, 0%, 29%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #124EB5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 78, 181

Red: 18 / Green: 78 / Blue: 181

HSL

218°, 82%, 39%

Hue: 218° / Saturation: 82% / Lightness: 39%

CMYK

90%, 57%, 0%, 29%

Cyan: 90% / Magenta: 57% / Yellow: 0% / Key: 29%

What color is #124EB5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #124EB5 to RGB:

rgb(18, 78, 181)HEX to RGB Converter →

HEX to HSL

Convert #124EB5 to HSL:

hsl(218, 82%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #124EB5 to CMYK:

cmyk(90%, 57%, 0%, 29%)Color Converter →

Color Meaning and Usage

A bold blue tone, #124EB5 has RGB (18, 78, 181) and HSL (218°, 82%, 39%). 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 #124EB5 is #B57912, creating high-contrast pairings. For softer combinations, try analogous colors like #129FB5.

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

Contrast with #124EB5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #124EB5?

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

What is the RGB value of #124EB5?

#124EB5 in RGB is (18, 78, 181) - 18 red, 78 green, and 181 blue.

How to use #124EB5 in CSS?

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

What colors go well with #124EB5?

#B57912 (complementary), #129FB5 (analogous), and #0B306F (lighter shade) work well with #124EB5.