Skip to content
AI Color

#122540 — Onyx

#122540 is a dark moderately saturated blue sitting at 215° 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.

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

Tints and shades of #122540

Color schemes using #122540

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

#122540 FAQ

What color is #122540?

#122540 is a shade of onyx in the blue family. It has a hue of 215 degrees, 56% saturation and 16% lightness, which makes it a dark muted color.

What is the RGB value of #122540?

#122540 is rgb(18, 37, 64) in RGB, hsl(215, 56%, 16%) in HSL, and cmyk(72%, 42%, 0%, 75%) in CMYK.

Can I use white text on #122540?

White text on this background reaches 15.39:1, which passes WCAG AA. Black text reaches 1.36:1.

What colors go well with #122540?

Its direct complement is #402D12. For something less stark, the split-complementary pair #401612 and #3C4012 gives you contrast without the vibration.