#0c42fa Color Information

In a RGB color space, hex #0c42fa is composed of 4.7% red, 25.9% green and 98% blue. Whereas in a CMYK color space, it is composed of 95.2% cyan, 73.6% magenta, 0% yellow and 2% black. It has a hue angle of 226.4 degrees, a saturation of 96% and a lightness of 51.4%. #0c42fa color hex could be obtained by blending #1884ff with #0000f5. Closest websafe color is: #0033ff.

    • R 5
    • G 26
    • B 98
    RGB color chart
    • C 95
    • M 74
    • Y 0
    • K 2
    CMYK color chart

#0c42fa color description : Vivid blue.

#0c42fa Color Conversion

The hexadecimal color #0c42fa has RGB values of R:12, G:66, B:250 and CMYK values of C:0.95, M:0.74, Y:0, K:0.02. Its decimal value is 803578.

Hex triplet 0c42fa #0c42fa
RGB Decimal 12, 66, 250 rgb(12,66,250)
RGB Percent 4.7, 25.9, 98 rgb(4.7%,25.9%,98%)
CMYK 95, 74, 0, 2
HSL 226.4°, 96, 51.4 hsl(226.4,96%,51.4%)
HSV (or HSB) 226.4°, 95.2, 98
Web Safe 0033ff #0033ff
CIE-LAB 39.369, 55.485, -93.281
XYZ 19.352, 10.875, 91.516
xyY 0.159, 0.089, 10.875
CIE-LCH 39.369, 108.535, 300.745
CIE-LUV 39.369, -14.571, -130.089
Hunter-Lab 32.977, 47.036, -141.453
Binary 00001100, 01000010, 11111010

Color Schemes with #0c42fa

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

Alternatives to #0c42fa

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

Similar Colors

#0c42fa Preview

Text with hexadecimal color #0c42fa

This text has a font color of #0c42fa.

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

This paragraph has a background color of #0c42fa.

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

This element has a border color of #0c42fa.

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

Shades and Tints of #0c42fa

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, #000207 is the darkest color, while #f3f5ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c42fa

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

Tone Color Variation

Color Blindness Simulator

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

  • #474747 Achromatopsia 0.005% of the population
  • #3b466b Atypical Achromatopsia 0.001% of the population
  • #0062bf Protanopia 1% of men
  • #0068a5 Deuteranopia 1% of men
  • #006f74 Tritanopia 0.001% of the population
  • #0456d4 Protanomaly 1% of men, 0.01% of women
  • #045ac4 Deuteranomaly 6% of men, 0.4% of women
  • #045ea4 Tritanomaly 0.01% of the population