#02158f Color Information

In a RGB color space, hex #02158f is composed of 0.8% red, 8.2% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 98.6% cyan, 85.3% magenta, 0% yellow and 43.9% black. It has a hue angle of 231.9 degrees, a saturation of 97.2% and a lightness of 28.4%. #02158f color hex could be obtained by blending #042aff with #00001f. Closest websafe color is: #000099.

    • R 1
    • G 8
    • B 56
    RGB color chart
    • C 99
    • M 85
    • Y 0
    • K 44
    CMYK color chart

#02158f color description : Dark blue.

#02158f Color Conversion

The hexadecimal color #02158f has RGB values of R:2, G:21, B:143 and CMYK values of C:0.99, M:0.85, Y:0, K:0.44. Its decimal value is 136591.

Hex triplet 02158f #02158f
RGB Decimal 2, 21, 143 rgb(2,21,143)
RGB Percent 0.8, 8.2, 56.1 rgb(0.8%,8.2%,56.1%)
CMYK 99, 85, 0, 44
HSL 231.9°, 97.2, 28.4 hsl(231.9,97.2%,28.4%)
HSV (or HSB) 231.9°, 98.6, 56.1
Web Safe 000099 #000099
CIE-LAB 18.063, 43.599, -65.664
XYZ 5.25, 2.532, 26.197
xyY 0.155, 0.075, 2.532
CIE-LCH 18.063, 78.82, 303.583
CIE-LUV 18.063, -5.976, -66.048
Hunter-Lab 15.912, 31.048, -86.474
Binary 00000010, 00010101, 10001111

Color Schemes with #02158f

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

Alternatives to #02158f

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

Similar Colors

#02158f Preview

Text with hexadecimal color #02158f

This text has a font color of #02158f.

<span style="color:#02158f;">Text here</span>
#02158f background color

This paragraph has a background color of #02158f.

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

This element has a border color of #02158f.

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

Shades and Tints of #02158f

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

Shade Color Variation
Tint Color Variation

Tones of #02158f

A tone is produced by adding gray to any pure hue. In this case, #45464c is the less saturated color, while #02158f is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #02158f 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
  • #181b34 Atypical Achromatopsia 0.001% of the population
  • #003567 Protanopia 1% of men
  • #003859 Deuteranopia 1% of men
  • #003c3f Tritanopia 0.001% of the population
  • #002976 Protanomaly 1% of men, 0.01% of women
  • #002b6d Deuteranomaly 6% of men, 0.4% of women
  • #002e5c Tritanomaly 0.01% of the population