Image Color Lab

CSS named color

#0000ff — blue

rgb(0, 0, 255)

Color codes

HEX
#0000ff
RGB
rgb(0, 0, 255)
HSL
hsl(240 100% 50%)
CMYK
cmyk(100% 100% 0% 0%)
OKLCH
oklch(45.2% 0.313 264)

Contrast

8.59:1 on white

AAA for normal and large text

2.44:1 on black

Fails WCAG AA

Tints and shades

Harmonies

About blue

blue is written as #0000ff in hex, rgb(0, 0, 255) in RGB and hsl(240 100% 50%) in HSL. Its lightness sits at 50%, 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.