Skip to content
AI Color

#040ECD — Cobalt

#040ECD is a mid-tone saturated blue sitting at 237° on the color wheel. Below you will find every format, a full tint and shade ramp, contrast ratings, and five harmony schemes built around it.

#040ecd
HEX
RGB
HSL
CMYK
Closest name
Color family
Contrast on white
Contrast on black

Tints and shades of #040ECD

Color schemes using #040ECD

analogous

Neighbouring hues that sit side by side on the color wheel for a calm, cohesive feel.

complementary

Two opposite hues that create the strongest possible contrast and visual tension.

split complementary

A base hue paired with the two neighbours of its complement — bold but easier to balance.

triadic

Three hues spaced evenly around the wheel for a vibrant, well-balanced scheme.

tetradic

Two complementary pairs, giving you the widest range of usable accents.

monochromatic

A single hue explored across lightness and saturation for a refined, minimal look.

Nearby colors

#040ECD FAQ

What color is #040ECD?

#040ECD is a shade of cobalt in the blue family. It has a hue of 237 degrees, 96% saturation and 41% lightness, which makes it a mid-tone saturated color.

What is the RGB value of #040ECD?

#040ECD is rgb(4, 14, 205) in RGB, hsl(237, 96%, 41%) in HSL, and cmyk(98%, 93%, 0%, 20%) in CMYK.

Can I use white text on #040ECD?

White text on this background reaches 10.77:1, which passes WCAG AA. Black text reaches 1.95:1.

What colors go well with #040ECD?

Its direct complement is #CDC304. For something less stark, the split-complementary pair #CD5F04 and #73CD04 gives you contrast without the vibration.