Color codes
- HEX
- #0000cd
- RGB
- rgb(0, 0, 205)
- HSL
- hsl(240 100% 40%)
- CMYK
- cmyk(100% 100% 0% 20%)
- OKLCH
- oklch(38.3% 0.266 264)
CSS named color
rgb(0, 0, 205)
11.16:1 on white
AAA for normal and large text
1.88:1 on black
Fails WCAG AA
mediumblue is written as #0000cd in hex, rgb(0, 0, 205) in RGB and hsl(240 100% 40%) in HSL. Its lightness sits at 40%, which is why it reads aaa for normal and large text against white.
Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.