#02158b Color Information

In a RGB color space, hex #02158b is composed of 0.8% red, 8.2% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 98.6% cyan, 84.9% magenta, 0% yellow and 45.5% black. It has a hue angle of 231.7 degrees, a saturation of 97.2% and a lightness of 27.6%. #02158b color hex could be obtained by blending #042aff with #000017. Closest websafe color is: #000099.

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

#02158b color description : Dark blue.

#02158b Color Conversion

The hexadecimal color #02158b has RGB values of R:2, G:21, B:139 and CMYK values of C:0.99, M:0.85, Y:0, K:0.45. Its decimal value is 136587.

Hex triplet 02158b #02158b
RGB Decimal 2, 21, 139 rgb(2,21,139)
RGB Percent 0.8, 8.2, 54.5 rgb(0.8%,8.2%,54.5%)
CMYK 99, 85, 0, 45
HSL 231.7°, 97.2, 27.6 hsl(231.7,97.2%,27.6%)
HSV (or HSB) 231.7°, 98.6, 54.5
Web Safe 000099 #000099
CIE-LAB 17.52, 42.268, -64.067
XYZ 4.952, 2.413, 24.629
xyY 0.155, 0.075, 2.413
CIE-LCH 17.52, 76.754, 303.415
CIE-LUV 17.52, -5.838, -63.672
Hunter-Lab 15.534, 29.726, -83.134
Binary 00000010, 00010101, 10001011

Color Schemes with #02158b

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

Alternatives to #02158b

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

Similar Colors

#02158b Preview

Text with hexadecimal color #02158b

This text has a font color of #02158b.

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

This paragraph has a background color of #02158b.

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

This element has a border color of #02158b.

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

Shades and Tints of #02158b

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

Shade Color Variation
Tint Color Variation

Tones of #02158b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #02158b 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
  • #181b33 Atypical Achromatopsia 0.001% of the population
  • #003465 Protanopia 1% of men
  • #003757 Deuteranopia 1% of men
  • #003b3d Tritanopia 0.001% of the population
  • #002973 Protanomaly 1% of men, 0.01% of women
  • #002b6a Deuteranomaly 6% of men, 0.4% of women
  • #002d59 Tritanomaly 0.01% of the population