#0c2e8a Color Information

In a RGB color space, hex #0c2e8a is composed of 4.7% red, 18% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 91.3% cyan, 66.7% magenta, 0% yellow and 45.9% black. It has a hue angle of 223.8 degrees, a saturation of 84% and a lightness of 29.4%. #0c2e8a color hex could be obtained by blending #185cff with #000015. Closest websafe color is: #003399.

    • R 5
    • G 18
    • B 54
    RGB color chart
    • C 91
    • M 67
    • Y 0
    • K 46
    CMYK color chart

#0c2e8a color description : Dark blue.

#0c2e8a Color Conversion

The hexadecimal color #0c2e8a has RGB values of R:12, G:46, B:138 and CMYK values of C:0.91, M:0.67, Y:0, K:0.46. Its decimal value is 798346.

Hex triplet 0c2e8a #0c2e8a
RGB Decimal 12, 46, 138 rgb(12,46,138)
RGB Percent 4.7, 18, 54.1 rgb(4.7%,18%,54.1%)
CMYK 91, 67, 0, 46
HSL 223.8°, 84, 29.4 hsl(223.8,84%,29.4%)
HSV (or HSB) 223.8°, 91.3, 54.1
Web Safe 003399 #003399
CIE-LAB 23.226, 26.808, -53.997
XYZ 5.715, 3.867, 24.488
xyY 0.168, 0.113, 3.867
CIE-LCH 23.226, 60.285, 296.403
CIE-LUV 23.226, -9.419, -64.812
Hunter-Lab 19.664, 17.467, -60.072
Binary 00001100, 00101110, 10001010

Color Schemes with #0c2e8a

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #0c2e8a

Below, you can see some colors close to #0c2e8a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#0c2e8a Preview

Text with hexadecimal color #0c2e8a

This text has a font color of #0c2e8a.

<span style="color:#0c2e8a;">Text here</span>
#0c2e8a background color

This paragraph has a background color of #0c2e8a.

<p style="background-color:#0c2e8a;">Content here</p>
#0c2e8a border color

This element has a border color of #0c2e8a.

<div style="border:1px solid #0c2e8a;">Content here</div>
CSS codes
.text {color:#0c2e8a;}
.background {background-color:#0c2e8a;}
.border {border:1px solid #0c2e8a;}

Shades and Tints of #0c2e8a

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #01040c is the darkest color, while #f9fafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c2e8a

A tone is produced by adding gray to any pure hue. In this case, #464950 is the less saturated color, while #002996 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c2e8a is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

  • #2e2e2e Achromatopsia 0.005% of the population
  • #272e40 Atypical Achromatopsia 0.001% of the population
  • #003f7c Protanopia 1% of men
  • #00436c Deuteranopia 1% of men
  • #00484b Tritanopia 0.001% of the population
  • #043981 Protanomaly 1% of men, 0.01% of women
  • #043b76 Deuteranomaly 6% of men, 0.4% of women
  • #043e62 Tritanomaly 0.01% of the population