#hexpedia

Closest to Medium Blue

#4000C0

Color conversions

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

FormatValueCopy
HEX4000C0
HEX with ##4000C0
RGBrgb(64, 0, 192)
RGBArgba(64, 0, 192, 1)
HSLhsl(260 100% 37.65%)
HSLAhsla(260, 100%, 37.65%, 1)
HSVhsv(260, 100%, 75.29%)
CMYKcmyk(66.67%, 100%, 0%, 24.71%)
OKLCHoklch(39.69% 0.2387 280.83)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

10.61:1

AAA normal

Black text

1.98:1

Decorative only

Reference notes

#4000C0 is a balanced, saturated violet color closest to Medium Blue. The color has RGB channels of 64, 0, and 192; in HSL terms, it is centered near 260 degrees with 100% saturation and 38% 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.