Colour
Three, six or eight digits. Alpha is shown but not used in contrast maths.
#1c4f8fcopy
28, 79, 143copy
hsl(213, 67%, 34%)copy
Click a swatch to load it. Left is lightest, right is darkest.
Contrast
Large text, 24px bold
Normal body text at 16px, which is what most of your copy will be.
— contrast ratio
AA normal text—
AAA normal text—
AA large text—
AAA large text—
WCAG 2.1: 4.5:1 for normal text, 3:1 for large text at AA; 7:1 and 4.5:1 at AAA.