#hexpedia

Medium Blue

#0000CD

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEX0000CD
HEX with ##0000CD
RGBrgb(0, 0, 205)
RGBArgba(0, 0, 205, 1)
HSLhsl(240 100% 40.2%)
HSLAhsla(240, 100%, 40.2%, 1)
HSVhsv(240, 100%, 80.39%)
CMYKcmyk(100%, 100%, 0%, 19.61%)
OKLCHoklch(38.35% 0.2657 264.05)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

11.16:1

AAA normal

Black text

1.88:1

Decorative only

Reference notes

#0000CD is a balanced, saturated blue color closest to Medium Blue. The color has RGB channels of 0, 0, and 205; in HSL terms, it is centered near 240 degrees with 100% saturation and 40% lightness. In a design system, this cool reading is a useful shortcut for deciding whether the color should act as a primary accent, a supporting surface, or a quiet divider. The safest usage pattern is to test it against both light and dark surfaces, then reserve the weaker text pairing for decoration rather than essential labels. If the color feels too forceful at full strength, the lighter, darker, and desaturated variants usually provide a calmer path for production UI. For editorial or product interfaces, reserve the most saturated use for accents and repeat softer variants in borders, labels, or background fills. This makes it useful for badges, highlights, product accents, and moments where quick recognition matters. In CSS systems, define it as a custom property first so variations, shadows, and gradients can stay consistent.