#126287 Color Information

Hex color code: #126287

#126287 is a striking blue color. In RGB it is (18, 98, 135), and in HSL it is (199°, 76%, 30%). It is often used for branding and logos.

Try:
Color NameTeal
HEX
#126287
RGB
18, 98, 135
HSL
199°, 76%, 30%
CMYK
87%, 27%, 0%, 47%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #126287; 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 #126287; background-color: #12628715; }

Alert / Toast

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

Link / Accent

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

a { color: #126287; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #126287 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 98, 135

Red: 18 / Green: 98 / Blue: 135

HSL

199°, 76%, 30%

Hue: 199° / Saturation: 76% / Lightness: 30%

CMYK

87%, 27%, 0%, 47%

Cyan: 87% / Magenta: 27% / Yellow: 0% / Key: 47%

What color is #126287?

#126287 is a cyan-blue hue associated with trust and professionalism.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #126287 to RGB:

rgb(18, 98, 135)HEX to RGB Converter →

HEX to HSL

Convert #126287 to HSL:

hsl(199, 76%, 30%)RGB to HSL Converter →

HEX to CMYK

Convert #126287 to CMYK:

cmyk(87%, 27%, 0%, 47%)Color Converter →

Color Meaning and Usage

A vivid blue tone, #126287 has RGB (18, 98, 135) and HSL (199°, 76%, 30%). Known for evoking trust and professionalism, this cyan-blue hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #126287 is #873712, creating high-contrast pairings. For softer combinations, try analogous colors like #128771.

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

Contrast with #126287

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #126287?

#126287 is a vivid blue color - a cyan-blue hue that evokes trust and professionalism.

What is the RGB value of #126287?

#126287 in RGB is (18, 98, 135) - 18 red, 98 green, and 135 blue.

How to use #126287 in CSS?

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

What colors go well with #126287?

#873712 (complementary), #128771 (analogous), and #093143 (lighter shade) work well with #126287.