Color codes
- HEX
- #00008b
- RGB
- rgb(0, 0, 139)
- HSL
- hsl(240 100% 27%)
- CMYK
- cmyk(100% 100% 0% 45%)
- OKLCH
- oklch(28.8% 0.199 264)
CSS named color
rgb(0, 0, 139)
15.30:1 on white
AAA for normal and large text
1.37:1 on black
Fails WCAG AA
darkblue is written as #00008b in hex, rgb(0, 0, 139) in RGB and hsl(240 100% 27%) in HSL. Its lightness sits at 27%, 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.