#21169C
Deep Indigo
#21169C is the CSS named color "darkblue", an exact match. In RGB it breaks down to red 33, green 22, and blue 156 out of 255 each. In HSL terms that's a hue of 245°, 75% saturation, and 35% lightness: quite dark, close to black — it works well as body text on a light background or as a near-black UI surface.
Every format
| HEX | #21169c |
| RGB | rgb(33, 22, 156) |
| HSL | hsl(245° 75% 35%) |
| HSB | hsb(245° 86% 61%) |
| OKLCH | oklch(34% 0.198 272°) |
| OKLAB | oklab(34% 0.008 -0.198) |
| LCH | lch(20% 81.6 300°) |
| CMYK | cmyk(79% 86% 0% 39%) |
Shades (darker)
#21169c · #1d0593 · #1a008a · #170081 · #150078
Tints (lighter)
#21169c · #2d31b2 · #3b47c8 · #4b5cdf · #5c71f6
Shades mix #21169C toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.
On white: 12.65:1 — AAA
On black: 1.66:1 — fails
Frequently asked
- What is #21169C in RGB?
- #21169C is rgb(33, 22, 156) — red 33, green 22, blue 156 out of 255 each.
- Does #21169C pass WCAG contrast on a white background?
- It has a contrast ratio of 12.65:1 against white, which passes WCAG AAA for normal text.
- What's a good background color to pair with #21169C?
- White text or a white background gives better contrast (12.65:1) than black (1.66:1).