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
- RGBrgb(59, 130, 246)
- HSLhsl(217.22, 91.22%, 59.8%)
- OKLCHoklch(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.