#0c1f40 Color Information

In a RGB color space, hex #0c1f40 is composed of 4.7% red, 12.2% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 81.3% cyan, 51.6% magenta, 0% yellow and 74.9% black. It has a hue angle of 218.1 degrees, a saturation of 68.4% and a lightness of 14.9%. #0c1f40 color hex could be obtained by blending #183e80 with #000000. Closest websafe color is: #003333.

    • R 5
    • G 12
    • B 25
    RGB color chart
    • C 81
    • M 52
    • Y 0
    • K 75
    CMYK color chart

#0c1f40 color description : Very dark blue.

#0c1f40 Color Conversion

The hexadecimal color #0c1f40 has RGB values of R:12, G:31, B:64 and CMYK values of C:0.81, M:0.52, Y:0, K:0.75. Its decimal value is 794432.

Hex triplet 0c1f40 #0c1f40
RGB Decimal 12, 31, 64 rgb(12,31,64)
RGB Percent 4.7, 12.2, 25.1 rgb(4.7%,12.2%,25.1%)
CMYK 81, 52, 0, 75
HSL 218.1°, 68.4, 14.9 hsl(218.1,68.4%,14.9%)
HSV (or HSB) 218.1°, 81.3, 25.1
Web Safe 003333 #003333
CIE-LAB 12.144, 5.941, -23.302
XYZ 1.567, 1.428, 5.043
xyY 0.195, 0.178, 1.428
CIE-LCH 12.144, 24.047, 284.303
CIE-LUV 12.144, -5.278, -20.704
Hunter-Lab 11.951, 2.489, -16.655
Binary 00001100, 00011111, 01000000

Color Schemes with #0c1f40

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

Alternatives to #0c1f40

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

Similar Colors

#0c1f40 Preview

Text with hexadecimal color #0c1f40

This text has a font color of #0c1f40.

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

This paragraph has a background color of #0c1f40.

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

This element has a border color of #0c1f40.

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

Shades and Tints of #0c1f40

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, #03070e is the darkest color, while #fdfeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c1f40

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c1f40 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.

  • #1d1d1d Achromatopsia 0.005% of the population
  • #1a1d24 Atypical Achromatopsia 0.001% of the population
  • #1a2a49 Protanopia 1% of men
  • #082c49 Deuteranopia 1% of men
  • #002f32 Tritanopia 0.001% of the population
  • #152646 Protanomaly 1% of men, 0.01% of women
  • #092745 Deuteranomaly 6% of men, 0.4% of women
  • #042937 Tritanomaly 0.01% of the population