#21196C color
The hex color #21196C is a dark, moderate blue.
In the RGB color model it is made of 12.9% red, 9.8% green and 42.4% blue (33, 25, 108).
Its hue angle is 246°, with 62% saturation and 26% lightness. For print, the CMYK equivalent is 69% cyan, 77% magenta, 0% yellow and 58% black.
The closest named color is Midnight Blue (#191970), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.79:1).
#21196C color codes
| HEX | #21196C | |
|---|---|---|
| RGB | rgb(33, 25, 108) | |
| RGB percent | rgb(12.9%, 9.8%, 42.4%) | |
| HSL | hsl(246, 62%, 26%) | |
| HSV / HSB | hsv(246, 77%, 42%) | |
| CMYK | cmyk(69%, 77%, 0%, 58%) | |
| CIE LAB | lab(16.01, 31.19, -46.7) | |
| CIE LCH | lch(16.01, 56.16, 303.74) | |
| CIE XYZ | xyz(3.681, 2.101, 14.396) | |
| Decimal | 2169196 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #21196C, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #21196C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.42:1 | Fail | Fail | Fail |
| Sample text | 14.79:1 | Pass | Pass | Pass |
| #21196C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.79:1 | Pass | Pass | Pass |
| Sample text | 1.42:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #21196C looks to people with the most common types of color vision deficiency.
#002b6eProtanopia
no red cones#00246aDeuteranopia
no green cones#003041Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #21196c; }
.text { color: #21196c; }
.border { border: 2px solid #21196c; }
.transparent { background-color: rgb(33 25 108 / 50%); }
.gradient { background: linear-gradient(to right, #21196c, #4b196c); }
Similar colors
#191970Midnight Blue#19197020000 Leagues Under the Sea#111166Dying Storm Blue#222266Intergalactic Cowboy#332277Deep Space Rodeo#150f5bSpace Colonisation#2d135fVoldemort#2f1064Infinite Inkwell
Questions
- What color is #21196C?
- #21196C is a dark, moderate blue, closest to the named color Midnight Blue. It belongs to the blue family of colors.
- What is the RGB value of #21196C?
- The RGB value is 33, 25, 108: 33 red, 25 green and 108 blue on a 0 to 255 scale.
- What is the complementary color of #21196C?
- The complementary color is #646C19, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #21196C?
- White text. Black text has a contrast ratio of 1.42:1 and white text 14.79:1. WCAG asks for at least 4.5:1 for normal text.