Intergalactic Cowboy color: hex code #222266

#222266 rgb(34, 34, 102)
Shades of blue

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
RGBrgb(34, 34, 102)
RGB percentrgb(13.3%, 13.3%, 40%)
HSLhsl(240, 50%, 27%)
HSV / HSBhsv(240, 67%, 40%)
CMYKcmyk(67%, 67%, 0%, 60%)
CIE LABlab(17.66, 23.28, -40.06)
CIE LCHlch(17.66, 46.34, 300.16)
CIE XYZxyz(3.629, 2.443, 12.848)
Decimal2237030
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 #222266RatioAAAAAAA large
Sample text1.49:1FailFailFail
Sample text14.11:1PassPassPass
#222266 as text onRatioAAAAAAA large
Sample text14.11:1PassPassPass
Sample text1.49:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.