Get the colour exactly right.

Paste any code and get every format, a readability check, and a palette you can name, share and put straight into your project. Free, with no sign-up.

Full details for #4F46E5

Check if text will be readable

Each pairing is scored against WCAG 2.2: 4.5:1 for normal text (AA), 7:1 for AAA.

White textThe quick brown fox
Black textThe quick brown fox

Make it your palette

Give it a name, then share it or download it as a card. Saved in this browser only. Click a colour to load it; double-click to remove it.


    

Common questions

How do I convert HEX to RGB?

Split the 6-digit HEX code into three pairs and convert each pair from base 16 to a number from 0 to 255. For example, #4F46E5 becomes rgb(79, 70, 229). Paste any code into Galham to convert it instantly.

What is a HEX colour code?

A HEX code is a 6-digit hexadecimal value, such as #4F46E5, that sets the red, green and blue levels of a colour. It is used in HTML, CSS, Tailwind and Figma.

What contrast ratio does WCAG require?

WCAG level AA requires at least 4.5:1 for normal text and 3:1 for large text. Level AAA requires 7:1 for normal text and 4.5:1 for large text.

What is the difference between RGB and HSL?

RGB describes a colour by its red, green and blue light levels (0–255). HSL describes it by hue (0–360°), saturation and lightness, which makes it easier to create lighter or darker shades.

Is Galham free, and are my palettes stored?

Galham is free with no sign-up. Saved palettes are stored only in your own browser and are not uploaded.