#0340a7 Color Information

In a RGB color space, hex #0340a7 is composed of 1.2% red, 25.1% green and 65.5% blue. Whereas in a CMYK color space, it is composed of 98.2% cyan, 61.7% magenta, 0% yellow and 34.5% black. It has a hue angle of 217.7 degrees, a saturation of 96.5% and a lightness of 33.3%. #0340a7 color hex could be obtained by blending #0680ff with #00004f. Closest websafe color is: #003399.

    • R 1
    • G 25
    • B 65
    RGB color chart
    • C 98
    • M 62
    • Y 0
    • K 35
    CMYK color chart

#0340a7 color description : Dark blue.

#0340a7 Color Conversion

The hexadecimal color #0340a7 has RGB values of R:3, G:64, B:167 and CMYK values of C:0.98, M:0.62, Y:0, K:0.35. Its decimal value is 213159.

Hex triplet 0340a7 #0340a7
RGB Decimal 3, 64, 167 rgb(3,64,167)
RGB Percent 1.2, 25.1, 65.5 rgb(1.2%,25.1%,65.5%)
CMYK 98, 62, 0, 35
HSL 217.7°, 96.5, 33.3 hsl(217.7,96.5%,33.3%)
HSV (or HSB) 217.7°, 98.2, 65.5
Web Safe 003399 #003399
CIE-LAB 30.582, 25.794, -59.679
XYZ 8.845, 6.475, 37.341
xyY 0.168, 0.123, 6.475
CIE-LCH 30.582, 65.015, 293.375
CIE-LUV 30.582, -14.135, -79.91
Hunter-Lab 25.447, 17.509, -69.19
Binary 00000011, 01000000, 10100111

Color Schemes with #0340a7

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

Alternatives to #0340a7

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

Similar Colors

#0340a7 Preview

Text with hexadecimal color #0340a7

This text has a font color of #0340a7.

<span style="color:#0340a7;">Text here</span>
#0340a7 background color

This paragraph has a background color of #0340a7.

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

This element has a border color of #0340a7.

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

Shades and Tints of #0340a7

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, #00050d is the darkest color, while #f9fbff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0340a7

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

Tone Color Variation

Color Blindness Simulator

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

  • #3a3a3a Achromatopsia 0.005% of the population
  • #2f3b50 Atypical Achromatopsia 0.001% of the population
  • #004f9a Protanopia 1% of men
  • #005386 Deuteranopia 1% of men
  • #00595e Tritanopia 0.001% of the population
  • #01499f Protanomaly 1% of men, 0.01% of women
  • #014c92 Deuteranomaly 6% of men, 0.4% of women
  • #015078 Tritanomaly 0.01% of the population