CSS Named Color
Copy-ready color values
HEX
#0000CDRGB
rgb(0, 0, 205)HSL
hsl(240, 100%, 40%)HSV
hsv(240, 100%, 80%)CMYK approx.
cmyk(100, 100, 0, 20)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #0000CD | |
| RGB | rgb(0, 0, 205) | |
| HSL | hsl(240, 100%, 40%) | |
| HSV | hsv(240, 100%, 80%) | |
| CMYK approx. | cmyk(100, 100, 0, 20) | |
| CSS keyword | mediumblue |
Contrast and classification
DarkLightness11.16:1Contrast with white1.88:1Contrast with blackBlue / CyanColor family
Shade and tint preview
White 10%#1A1AD2
White 30%#4D4DDC
White 70%#B3B3F0
White 90%#E6E6FA
Black 10%#0000B9
Black 30%#000090
Black 70%#00003E
Black 90%#000015
Harmony palettes
Complementary
#FFFF32#FFFF63Analogous
#0000B4#0019B4Triadic
#00CD00#CD0000Split complementary
#FFFF57#D1D129Using Mediumblue
Mediumblue works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.
CSS, SCSS, and Tailwind examples
:root {
--color-mediumblue: #0000cd;
}
.button-primary {
background: var(--color-mediumblue);
color: #ffffff;
}
$mediumblue: #0000cd;
// Tailwind arbitrary value
class="bg-[#0000cd] text-white"