#221782 color
The hex color #221782 is a dark, moderate blue.
In the RGB color model it is made of 13.3% red, 9% green and 51% blue (34, 23, 130).
Its hue angle is 246°, with 70% saturation and 30% lightness. For print, the CMYK equivalent is 74% cyan, 82% magenta, 0% yellow and 49% black.
The closest named color is Nightly Expedition (#221188), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.88:1).
#221782 color codes
| HEX | #221782 | |
|---|---|---|
| RGB | rgb(34, 23, 130) | |
| RGB percent | rgb(13.3%, 9%, 51%) | |
| HSL | hsl(246, 70%, 30%) | |
| HSV / HSB | hsv(246, 82%, 51%) | |
| CMYK | cmyk(74%, 82%, 0%, 49%) | |
| CIE LAB | lab(18.21, 39.83, -57.21) | |
| CIE LCH | lch(18.21, 69.71, 304.85) | |
| CIE XYZ | xyz(4.994, 2.564, 21.346) | |
| Decimal | 2234242 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #221782, 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 #221782 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.51:1 | Fail | Fail | Fail |
| Sample text | 13.88:1 | Pass | Pass | Pass |
| #221782 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.88:1 | Pass | Pass | Pass |
| Sample text | 1.51: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 #221782 looks to people with the most common types of color vision deficiency.
#003185Protanopia
no red cones#002880Deuteranopia
no green cones#00384dTritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #221782; }
.text { color: #221782; }
.border { border: 2px solid #221782; }
.transparent { background-color: rgb(34 23 130 / 50%); }
.gradient { background: linear-gradient(to right, #221782, #571782); }
Similar colors
#221188Nightly Expedition#301885Indiglow#111188Galactic Cruise#0c1793Royal#120a8fUltramarine#191970Midnight Blue#19197020000 Leagues Under the Sea#220088Orbital Kingdom
Questions
- What color is #221782?
- #221782 is a dark, moderate blue, closest to the named color Nightly Expedition. It belongs to the blue family of colors.
- What is the RGB value of #221782?
- The RGB value is 34, 23, 130: 34 red, 23 green and 130 blue on a 0 to 255 scale.
- What is the complementary color of #221782?
- The complementary color is #778217, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #221782?
- White text. Black text has a contrast ratio of 1.51:1 and white text 13.88:1. WCAG asks for at least 4.5:1 for normal text.