Converters
Colour Tools
Convert colours between HEX, RGB, HSL and OKLCH, check WCAG contrast, build palettes, and preview colour blindness.
- HEX#0462d3
- RGBrgb(4 98 211)
- HSLhsl(213 96% 42%)
- OKLCHoklch(51.92% 0.1905 258.09)
Contrast checker
Contrast ratio14.67:1
- AA, normal text (4.5:1)
Pass - AA, large text (3:1)
Pass - AAA, normal text (7:1)
Pass - AAA, large text (4.5:1)
Pass
Preview in the chosen colours
Normal text: the quick brown fox jumps over the lazy dog.
Large text sample
Palette
Tints and shades of the colour above, from 50 (lightest) to 950 (darkest). Select a swatch to copy it.
The first part of every property name, e.g. brand.
:root {
--brand-50: #eff6ff;
--brand-100: #dbeaff;
--brand-200: #c1daff;
--brand-300: #9ac3ff;
--brand-400: #61a0ff;
--brand-500: #3183f7;
--brand-600: #146adc;
--brand-700: #0159c3;
--brand-800: #0049a2;
--brand-900: #073e87;
--brand-950: #00265c;
}Colour blindness preview
About how the colour above and the contrast checker's pair look with each type of colour blindness. People's vision varies, so treat this as a guide.
- Protanopia (no red cones)#0070d7Contrast 14.41:1
- Deuteranopia (no green cones)#005fd1Contrast 14.84:1
- Tritanopia (no blue cones)#007e91Contrast 14.61:1