Modal Color — #31A6D1: Codes, Palettes & Contrast
Modal (#31A6D1) color codes in RGB, HSL, and OKLCH, the most readable text color on it, WCAG contrast ratios against white and black, and matching color palettes.
Modal is a named blue color, ready to use anywhere you need it.
Modal#31A6D1
Modal color codes
| HEX | #31A6D1 |
|---|---|
| RGB | rgb(49, 166, 209) |
| HSL | hsl(196, 63%, 51%) |
| OKLCH | oklch(0.680 0.118 227.6) |
Browse more blue colors.
Readable text on Modal
Black text (#000000) has the higher contrast against this background: 7.51:1.
| Text color | Ratio | Normal text AA | Normal text AAA |
|---|---|---|---|
| Black | 7.51:1 | Pass | Pass |
| White | 2.8:1 | Fail | Fail |
Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.