Medium blue Color — #0000CD: Codes, Palettes & Contrast

Medium blue (#0000CD) color codes in RGB, HSL, and OKLCH, the most readable text color on it, WCAG contrast ratios against white and black, and matching color palettes.

Medium blue is a named blue color, ready to use anywhere you need it.

Medium blue#0000CD

Medium blue color codes

HEX#0000CD
RGBrgb(0, 0, 205)
HSLhsl(240, 100%, 40%)
OKLCHoklch(0.383 0.266 264.1)

Browse more blue colors.

Readable text on Medium blue

White text (#FFFFFF) has the higher contrast against this background: 11.16:1.

Text colorRatioNormal text AANormal text AAA
Black1.88:1FailFail
White11.16:1PassPass

Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.

Related named colors

Build a palette · Generate a color scale