Skip to content
devfocus.app

Color Picker & Converter

Pick colours and convert between HEX, RGB, HSL and OKLCH with contrast checks.

Colour

Hex, rgb(), hsl(), oklch(), lab(), color() or a CSS colour name.

Values

  • HEX
    #3b82f6
  • RGB
    rgb(59, 130, 246)
  • HSL
    hsl(217.22, 91.22%, 59.8%)
  • OKLCH
    oklch(62.3% 0.188 259.81)

Contrast (WCAG 2)

Aa Large text

The quick brown fox jumps over the lazy dog.

On white3.67:1
AAfailsAAAfailsAA largepasses

Aa Large text

The quick brown fox jumps over the lazy dog.

On black5.70:1
AApassesAAAfailsAA largepasses

AA needs 4.5:1 for body text (3:1 for large text, 24px or 19px bold); AAA needs 7:1.

Search tools

Search for a tool or command