Colour code #2222CC

#2222CC
rgb(34, 34, 204)
rgb(13.3%, 13.3%, 80%)

RGB value of #2222CC colour is rgb(34, 34, 204) where red value is 34, green value is 34 and the blue value is 204.

Max value from RGB for colour #2222CC is 204 which contains mainly Blue colour.

Cylindrical-coordinate representations (also known as HSL colours) of colour #2222CC hue angle of 240°, saturation:71.4% and the lightness value is 46.7%.

The process colour (four Colour CMYK) of #2222CC colour is Cyan = 0.83, Magento = 0.83, Yellow = 0, and Key/Black (K on CMYK) = 0.2.

Hex color #2222CC is not a web safe color. Nearby web safe colour of #2222CC is #3333CC.

Grayscale color of #2222CC is #343434

Inverted color of #2222CC is #DDDD33

OLE colour (RGB Long) of #2222CC is 13378082

Decimal Value of #2222CC is 2237132

Android / android.graphics.Color of #2222CC is -14540084 / 0xFF2222CC

The following declarations are allowed (CSS 3.0) for #2222CC

Hex Triplets
#2222CC
RGB Decimal
rgb(34, 34, 204)
RGB Percent
rgb(13.33%, 13.33%, 80%)
RGBA
rgba(34, 34, 204, 1)
HSL
hsl(240, 71.4%, 46.7%)
HSLA
hsla(240, 71.4%, 46.7%, 1)

Colour spaces of #2222CC

  • RGB is opposite of CMY. CMY colours are complementary to RGB colours.
    R = 34
    13.33%
    G = 34
    13.33%
    B = 204
    80%

    C = 86.67%
    0.86666666666667
    M = 86.67%
    0.86666666666667
    Y = 20%
    0.2
  • HSL (HSI) – hue, saturation, lightness/intensity
    H = 240°
    0.66666666666667
    S = 71.4%
    0.71428571428571
    L = 46.7%
    0.46666666666667
  • HSV (HSB) – hue, saturation, brightness/value
    H = 240°
    0.66666666666667
    S = 83.33%
    0.83333333333333
    V = 80%
    0.8
  • CMYK – cyan, magenta, yellow, key/black
    C = 83.33
    0.83333333333333
    M = 83.33
    0.83333333333333
    Y = 0
    0
    K = 20
    0.2
  • CIE – International Commission on Illumination
    CIE XYZ
    CIE 1931 XYZ colour space
    X = 12.131
    12.130798055483
    Y = 5.844
    5.8437694849875
    Z = 57.615
    57.615337221312

    Yxy
    CIE (x, y, Y)
    Y = 5.844
    5.8437694849875
    x = 0.16
    0.16048172164937
    y = 0.077
    0.077308861592085

    Hunter-Lab
    Hunter 1948 colour space
    L = 24.17
    24.173889809022
    a = 47.27
    47.269504496725
    b = -124.39
    -124.38831746392

    CIELAB
    CIE 1976 (L*, a*, b*)
    L = 29.01
    29.014836941386
    a = 57.71
    57.711359091214
    b = -84.15
    -84.154991460998

    CIELUV
    CIE 1976 (L*, u*, v*)
    L = 29.0148
    29.014836941386
    u = -7.4911
    -7.491111485233
    v = -103.8885
    -103.88852860782

    CIELCH
    Cylindrical representation
    L = 29.0148
    29.014836941386
    C = 102.0425
    102.04245957422
    H = 304.4413
    304.44134138276

    YIQ
    Luma In-phase Quadrature
    Y = 0.2093
    0.20933333333333
    I = -0.214
    -0.214
    Q = 0.2073
    0.20733333333333

Base Numbers

Base Red Green Blue
Binary 00100010 00100010 11001100
Octal 42 42 314
Decimal 34 34 204
Hex 22 22 CC


Colour Harmonies : #2222CC colour combinations

Complementary colour scheme for #2222CC

Colors that are opposite each other on the color wheel are considered to be complementary colors. The high contrast of complementary colors creates a vibrant look especially when used at full saturation.

In the complementary color scheme, the opposite colour of #2222CC colour is calculated by adding 180° to the value of the current hue: 240° → 420° (+180°)

Split-complementary colour scheme for #2222CC

The split-complementary colour scheme is a variation of the complementary colour scheme. In addition to the base colour, it uses the two colours adjacent to its complement.This color scheme has the same strong visual contrast as the complementary color scheme, but has less tension.

Split-complementary colours of #2222CC are calculated by changing the hue by ±5/12 (±150°): 240° → 90° (240°-150°), 390° (240°+150°).

Triadic colours scheme for #2222CC

A triadic colour scheme uses colors that are evenly spaced around the colour wheel. This scheme tend to be quite vibrant, even if you use pale or unsaturated versions of your hues. To use a triadic harmony successfully, the colours should be carefully balanced - let one colour dominate and use the two others for accent.

Equidistant combinations of triadic scheme colours for #2222CC are calculated by changing the hue by ±1/3 (±120°): 240° → 120° (240°-120°), 360° (240°+120°).

Tetradic (Rectangle) colour scheme for #2222CC

The rectangle or tetradic color scheme uses four colors arranged into two complementary pairs.This schemes works best if one color is dominant, while the rest serve as extras.

Four tetradic scheme colours (clockwise) for #2222CC are calculated by changing the hue as follows : 240° → 360° (240°+120°), 420° (240°+180°), 540° (240°+300°).


Four tetradic scheme colours (counter-clockwise) for #2222CC are calculated by changing the hue as follows : 240° → 120° (240°-120°), 60° (240°-180°), -60° (240°-300°).

Tetradic Square Colour Scheme for #2222CC

The square color scheme is similar to the Tetradic rectangle scheme, but with all four colors spaced evenly around the color circle. Square color schemes works best if you let one color be dominant. You should also pay attention to the balance between warm and cool colors in your design.

Four equidistant tetradic square scheme colours for #2222CC are calculated by changing the hue by 1/4 (90°) progressively : 240° → 330° (240°+90°), 420° (240°+180°), 510° (240°+270°).

Analagous colours of #2222CC

Analogous colours are groups of three colors that are next to each other on the colour wheel. They usually match well and create serene and comfortable designs.

Analogous color schemes are often found in nature and are harmonious and pleasing to the eye.

The analogous colours of #2222CC are calculated by changing the hue by ±1/12 (i.e. 30°): 240° → 270° (240°+30°), 210° (240°-30°).

RGB Variations of #2222CC

(R:22, G:22, B:22)

Monochromatic colours of #2222CC

Shade Colour Variation of #2222CC (Darker)

A shade is achieved by adding black to any pure hue

Tint Colour Variation of #2222CC (Brighter)

Tint is created by mixing white to any pure color

Tones of #2222CC colour with more saturation

A tone is produced by adding gray to any pure hue.

Tones of #2222CC colour with less saturation

A tone is produced by adding gray to any pure hue.

#2222CC Colour in CSS Codes


.myforecolor{
    color:#2222CC;
}
.mybgcolor{
    background-color:#2222CC;
}
.mybordercolor{
    border:3px solid #2222CC;
}

Text with hexadecimal font colour #2222CC

This sample text font Colour is #2222CC
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog


<p style="color:#2222CC">Text here</p>


#2222CC Background Colour

This div background Colour is #2222CC


<div style="background-color:#2222CC">
    Div content here
</div>


#2222CC Border Colour

This div border Colour is #2222CC


<div style="border:3px solid #2222CC">
    Div content here
</div>

CSS3 Examples


.textShadowRgb {
    text-shadow: 4px 4px 2px rgba(34, 34, 204, 0.8);
} 
.textShadowHex { 
    text-shadow: 4px 4px 2px #2222CC;
}
.divShadow { 
    -moz-box-shadow: 1px 1px 3px 2px #2222CC;
    -webkit-box-shadow: 1px 1px 3px 2px #2222CC;
    box-shadow: 1px 1px 3px 2px #2222CC;
}


Text Shadow with RGB Values

This text has shadow with rgb values.


<p style="text-shadow: 4px 4px 2px rgba(34, 34, 204, 0.8);">Text here</p>


Text Shadow with HEX Values

This text has shadow with hex values.


<p style="text-shadow: 4px 4px 2px #2222CC">Text here</p>


Div Box Shadow

This div box has shadow with Colour # 2222CC



<div style="-moz-box-shadow: 1px 1px 3px 2px #2222CC;
-webkit-box-shadow: 1px 1px 3px 2px #2222CC;
box-shadow: 1px 1px 3px 2px #2222CC;">
    Div content here
</div>

Colour Compositions

RGB % of Colour #2222CC

CMYK % of Colour #2222CC

Related Colours along with #2222CC

Black background

Sample text in #2222CC colour with black background colour.

White background

Sample text in #2222CC colour with white background colour.

#2222CC over22 #22CC22

Sample text in #2222CC colour with #22CC22 background colour.

#22CC22 over 2222CC

Sample text in #22CC22 colour with #2222CC background colour.

#2222CC over22 #22CC77

Sample text in #2222CC colour with #22CC77 background colour.

#22CC77 over 2222CC

Sample text in #22CC77 colour with #2222CC background colour.

#2222CC over22 #22CCCC

Sample text in #2222CC colour with #22CCCC background colour.

#22CCCC over 2222CC

Sample text in #22CCCC colour with #2222CC background colour.

#2222CC over22 #3333CC

Sample text in #2222CC colour with #3333CC background colour.

#3333CC over 2222CC

Sample text in #3333CC colour with #2222CC background colour.

#2222CC over22 #77CC22

Sample text in #2222CC colour with #77CC22 background colour.

#77CC22 over 2222CC

Sample text in #77CC22 colour with #2222CC background colour.

#2222CC over22 #CC2222

Sample text in #2222CC colour with #CC2222 background colour.

#CC2222 over 2222CC

Sample text in #CC2222 colour with #2222CC background colour.

#2222CC over22 #CC2277

Sample text in #2222CC colour with #CC2277 background colour.

#CC2277 over 2222CC

Sample text in #CC2277 colour with #2222CC background colour.

#2222CC over22 #CC22CC

Sample text in #2222CC colour with #CC22CC background colour.

#CC22CC over 2222CC

Sample text in #CC22CC colour with #2222CC background colour.

#2222CC over22 #CC7722

Sample text in #2222CC colour with #CC7722 background colour.

#CC7722 over 2222CC

Sample text in #CC7722 colour with #2222CC background colour.

#2222CC over22 #CCCC22

Sample text in #2222CC colour with #CCCC22 background colour.

#CCCC22 over 2222CC

Sample text in #CCCC22 colour with #2222CC background colour.

#2222CC over22 #DDDD33

Sample text in #2222CC colour with #DDDD33 background colour.

#DDDD33 over 2222CC

Sample text in #DDDD33 colour with #2222CC background colour.

#2222CC over22 #343434

Sample text in #2222CC colour with #343434 background colour.

#343434 over 2222CC

Sample text in #343434 colour with #2222CC background colour.