Color codes
- HEX
- #000080
- RGB
- rgb(0, 0, 128)
- HSL
- hsl(240 100% 25%)
- CMYK
- cmyk(100% 100% 0% 50%)
- OKLCH
- oklch(27.1% 0.188 264)
CSS named color
rgb(0, 0, 128)
16.01:1 on white
AAA for normal and large text
1.31:1 on black
Fails WCAG AA
navy is written as #000080 in hex, rgb(0, 0, 128) in RGB and hsl(240 100% 25%) in HSL. Its lightness sits at 25%, 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.