Color Converter & Contrast Checker ยท Penukar Warna HEX, RGB, HSL
Convert colours between HEX, RGB and HSL, build tints and shades, and check WCAG text contrast.
Tints & shades
Why colour contrast matters
The Web Content Accessibility Guidelines (WCAG) recommend a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text, so your website, banners and menus are readable for everyone, including older users and people with low vision. Use the tints and shades row to build a consistent brand palette, and click any swatch to copy its HEX code.
Frequently asked questions
How do I convert HEX to RGB?
Type or paste a HEX code such as #2563EB; the RGB and HSL values update instantly. You can also edit R, G and B directly.
What contrast ratio passes WCAG AA?
Normal text needs at least 4.5:1 and large text (about 18pt, or 14pt bold) needs at least 3:1. AAA requires 7:1 for normal text.
What are the Jalur Gemilang colours?
This tool includes quick presets for commonly used Malaysian flag colours โ dark blue, red and yellow โ for designs such as Merdeka posters.