Medium Blue Color
Medium Blue is a vivid, dark blue with hex code #0000CD. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.
Medium Blue color codes
| HEX | #0000CD | |
|---|---|---|
| RGB | rgb(0, 0, 205) | |
| HSL | hsl(240, 100%, 40%) | |
| HSV | 240°, 100%, 80% | |
| CMYK | 100%, 100%, 0%, 20% | |
| OKLCH | oklch(38.3% 0.266 264.1) | |
| Tailwind | bg-[#0000cd] |
Closest Tailwind colour: blue-800 (#1E40AF). Convert any colour in the Color Converter.
About Medium Blue
Medium Blue (#0000CD) is a vivid, dark blue. In the RGB model it is 0% red, 0% green and 80% blue; its hue angle is 240°, with 100% saturation and 40% lightness. For print, the CMYK equivalent is 100% cyan, 100% magenta, 0% yellow and 20% black.
It is a cool colour and appears in our shades of blue. Text on it reads best in white (11.2:1 contrast).
Medium Blue tints and shades
Tints mix medium blue with white; shades mix it with black. Click to copy.
Colors that go with Medium Blue
Complementary
Analogous
Triadic
Split complementary
Medium Blue contrast
- AA text pass
- AAA text pass
- AA large pass
- AA text fail
- AAA text fail
- AA large fail
Using Medium Blue in CSS
.brand {
color: #0000cd;
}
.button {
background: #0000cd;
color: #fff;
}
.hero {
background: linear-gradient(135deg, #5959df, #0000cd, #000085);
}Similar colors
Gradients with Medium Blue
Medium Blue FAQ
What color is Medium Blue?
Medium Blue is a vivid, dark blue. Its hex code is #0000CD and it is a cool colour.
What is the hex code for Medium Blue?
The hex code for Medium Blue is #0000CD. In RGB that is rgb(0, 0, 205), and in HSL hsl(240, 100%, 40%).
What is Medium Blue in CMYK?
Medium Blue is roughly C 100%, M 100%, Y 0%, K 20% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.
What colors go well with Medium Blue?
Its complementary colour is #CCCC00. For a calmer palette use its analogous colours #0066CC and #6600CC, or tints and shades of Medium Blue itself.
Is white or black text better on Medium Blue?
White text reads better on Medium Blue: 11.2:1 contrast, against 1.9:1 for black. WCAG asks for 4.5:1 for body text.
