Intergalactic Cowboy color: hex code #222266
Intergalactic Cowboy has the hex code #222266. It is a dark, moderate blue.
In the RGB color model it is made of 13.3% red, 13.3% green and 40% blue (34, 34, 102).
Its hue angle is 240°, with 50% saturation and 27% lightness. For print, the CMYK equivalent is 67% cyan, 67% magenta, 0% yellow and 60% black.
White text is the more readable choice on this background (contrast 14.11:1).
Intergalactic Cowboy (#222266) color codes
| HEX | #222266 | |
|---|---|---|
| RGB | rgb(34, 34, 102) | |
| RGB percent | rgb(13.3%, 13.3%, 40%) | |
| HSL | hsl(240, 50%, 27%) | |
| HSV / HSB | hsv(240, 67%, 40%) | |
| CMYK | cmyk(67%, 67%, 0%, 60%) | |
| CIE LAB | lab(17.66, 23.28, -40.06) | |
| CIE LCH | lch(17.66, 46.34, 300.16) | |
| CIE XYZ | xyz(3.629, 2.443, 12.848) | |
| Decimal | 2237030 | |
| Short hex | #226 |
Color harmonies
Colors that go with Intergalactic Cowboy, 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 #222266 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.49:1 | Fail | Fail | Fail |
| Sample text | 14.11:1 | Pass | Pass | Pass |
| #222266 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.11:1 | Pass | Pass | Pass |
| Sample text | 1.49: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 #222266 looks to people with the most common types of color vision deficiency.
#002e68Protanopia
no red cones#002865Deuteranopia
no green cones#003340Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #222266; }
.text { color: #222266; }
.border { border: 2px solid #222266; }
.transparent { background-color: rgb(34 34 102 / 50%); }
.gradient { background: linear-gradient(to right, #222266, #442266); }
Similar colors
#2e2364Indie Go#112473Midnight Crest#332266Dark Dreams#191970Midnight Blue#19197020000 Leagues Under the Sea#222255Spacescape#082567Dark Sapphire#002266Midnight Melancholia
See #222266 on its hex code page
Questions
- What color is #222266?
- #222266 is a dark, moderate blue known as Intergalactic Cowboy. It belongs to the blue family of colors.
- What is the RGB value of Intergalactic Cowboy?
- The RGB value is 34, 34, 102: 34 red, 34 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of Intergalactic Cowboy?
- The complementary color is #666622, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #222266?
- White text. Black text has a contrast ratio of 1.49:1 and white text 14.11:1. WCAG asks for at least 4.5:1 for normal text.