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 |
|---|---|
| RGB | rgb(0, 0, 205) |
| HSL | hsl(240, 100%, 40%) |
| OKLCH | oklch(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 color | Ratio | Normal text AA | Normal text AAA |
|---|---|---|---|
| Black | 1.88:1 | Fail | Fail |
| White | 11.16:1 | Pass | Pass |
Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.