#126CBA Color Information

Hex color code: #126CBA

The hex color #126CBA is a vivid blue with RGB values of (18, 108, 186) and HSL of (208°, 82%, 40%). It is commonly used in modern UI design.

Try:
Color NameSteel Blue
HEX
#126CBA
RGB
18, 108, 186
HSL
208°, 82%, 40%
CMYK
90%, 42%, 0%, 27%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #126CBA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #126CBA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #126CBA; 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 #126CBA; background-color: #126CBA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #126CBA20; border-left: 4px solid #126CBA; }

Link / Accent

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

a { color: #126CBA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #126CBA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 108, 186

Red: 18 / Green: 108 / Blue: 186

HSL

208°, 82%, 40%

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

CMYK

90%, 42%, 0%, 27%

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

What color is #126CBA?

#126CBA is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #126CBA to RGB:

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

HEX to HSL

Convert #126CBA to HSL:

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

HEX to CMYK

Convert #126CBA to CMYK:

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

Color Meaning and Usage

#126CBA is a dynamic blue color with RGB values of 18, 108, 186 and HSL of 208°, 82%, 40%. This highly saturated hue evokes energy and excitement, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #126CBA is #BA6012, creating high-contrast pairings. For softer combinations, try analogous colors like #12BAB4.

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

Contrast with #126CBA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #126CBA?

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

What is the RGB value of #126CBA?

#126CBA in RGB is (18, 108, 186) - 18 red, 108 green, and 186 blue.

How to use #126CBA in CSS?

Use #126CBA directly in your CSS properties like color or background-color.

What colors go well with #126CBA?

#BA6012 (complementary), #12BAB4 (analogous), and #0B4374 (lighter shade) work well with #126CBA.