#0c40ff Color Information

In a RGB color space, hex #0c40ff is composed of 4.7% red, 25.1% green and 100% blue. Whereas in a CMYK color space, it is composed of 95.3% cyan, 74.9% magenta, 0% yellow and 0% black. It has a hue angle of 227.2 degrees, a saturation of 100% and a lightness of 52.4%. #0c40ff color hex could be obtained by blending #1880ff with #0000ff. Closest websafe color is: #0033ff.

    • R 5
    • G 25
    • B 100
    RGB color chart
    • C 95
    • M 75
    • Y 0
    • K 0
    CMYK color chart

#0c40ff color description : Vivid blue.

#0c40ff Color Conversion

The hexadecimal color #0c40ff has RGB values of R:12, G:64, B:255 and CMYK values of C:0.95, M:0.75, Y:0, K:0. Its decimal value is 803071.

Hex triplet 0c40ff #0c40ff
RGB Decimal 12, 64, 255 rgb(12,64,255)
RGB Percent 4.7, 25.1, 100 rgb(4.7%,25.1%,100%)
CMYK 95, 75, 0, 0
HSL 227.2°, 100, 52.4 hsl(227.2,100%,52.4%)
HSV (or HSB) 227.2°, 95.3, 100
Web Safe 0033ff #0033ff
CIE-LAB 39.519, 58.246, -95.832
XYZ 20.031, 10.963, 95.663
xyY 0.158, 0.087, 10.963
CIE-LCH 39.519, 112.144, 301.291
CIE-LUV 39.519, -14.329, -133.087
Hunter-Lab 33.111, 50.044, -148.12
Binary 00001100, 01000000, 11111111

Color Schemes with #0c40ff

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

Alternatives to #0c40ff

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

Similar Colors

#0c40ff Preview

Text with hexadecimal color #0c40ff

This text has a font color of #0c40ff.

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

This paragraph has a background color of #0c40ff.

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

This element has a border color of #0c40ff.

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

Shades and Tints of #0c40ff

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, #00030c is the darkest color, while #f7f9ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c40ff

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

Tone Color Variation

Color Blindness Simulator

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

  • #464646 Achromatopsia 0.005% of the population
  • #3a456b Atypical Achromatopsia 0.001% of the population
  • #0062bf Protanopia 1% of men
  • #0068a5 Deuteranopia 1% of men
  • #006f74 Tritanopia 0.001% of the population
  • #0456d6 Protanomaly 1% of men, 0.01% of women
  • #0459c6 Deuteranomaly 6% of men, 0.4% of women
  • #045ea6 Tritanomaly 0.01% of the population