#0340a5 Color Information

In a RGB color space, hex #0340a5 is composed of 1.2% red, 25.1% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 98.2% cyan, 61.2% magenta, 0% yellow and 35.3% black. It has a hue angle of 217.4 degrees, a saturation of 96.4% and a lightness of 32.9%. #0340a5 color hex could be obtained by blending #0680ff with #00004b. Closest websafe color is: #003399.

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

#0340a5 color description : Dark blue.

#0340a5 Color Conversion

The hexadecimal color #0340a5 has RGB values of R:3, G:64, B:165 and CMYK values of C:0.98, M:0.61, Y:0, K:0.35. Its decimal value is 213157.

Hex triplet 0340a5 #0340a5
RGB Decimal 3, 64, 165 rgb(3,64,165)
RGB Percent 1.2, 25.1, 64.7 rgb(1.2%,25.1%,64.7%)
CMYK 98, 61, 0, 35
HSL 217.4°, 96.4, 32.9 hsl(217.4,96.4%,32.9%)
HSV (or HSB) 217.4°, 98.2, 64.7
Web Safe 003399 #003399
CIE-LAB 30.405, 24.978, -58.766
XYZ 8.661, 6.402, 36.374
xyY 0.168, 0.124, 6.402
CIE-LCH 30.405, 63.854, 293.027
CIE-LUV 30.405, -14.155, -78.602
Hunter-Lab 25.302, 16.822, -67.524
Binary 00000011, 01000000, 10100101

Color Schemes with #0340a5

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

Alternatives to #0340a5

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

Similar Colors

#0340a5 Preview

Text with hexadecimal color #0340a5

This text has a font color of #0340a5.

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

This paragraph has a background color of #0340a5.

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

This element has a border color of #0340a5.

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

Shades and Tints of #0340a5

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, #00040b is the darkest color, while #f7faff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0340a5

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

Tone Color Variation

Color Blindness Simulator

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

  • #393939 Achromatopsia 0.005% of the population
  • #2e3a4f Atypical Achromatopsia 0.001% of the population
  • #004e99 Protanopia 1% of men
  • #005385 Deuteranopia 1% of men
  • #00595d Tritanopia 0.001% of the population
  • #01499d Protanomaly 1% of men, 0.01% of women
  • #014c91 Deuteranomaly 6% of men, 0.4% of women
  • #015077 Tritanomaly 0.01% of the population