#28158c Color Information

In a RGB color space, hex #28158c is composed of 15.7% red, 8.2% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 71.4% cyan, 85% magenta, 0% yellow and 45.1% black. It has a hue angle of 249.6 degrees, a saturation of 73.9% and a lightness of 31.6%. #28158c color hex could be obtained by blending #502aff with #000019. Closest websafe color is: #330099.

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

#28158c color description : Dark blue.

#28158c Color Conversion

The hexadecimal color #28158c has RGB values of R:40, G:21, B:140 and CMYK values of C:0.71, M:0.85, Y:0, K:0.45. Its decimal value is 2626956.

Hex triplet 28158c #28158c
RGB Decimal 40, 21, 140 rgb(40,21,140)
RGB Percent 15.7, 8.2, 54.9 rgb(15.7%,8.2%,54.9%)
CMYK 71, 85, 0, 45
HSL 249.6°, 73.9, 31.6 hsl(249.6,73.9%,31.6%)
HSV (or HSB) 249.6°, 85, 54.9
Web Safe 330099 #330099
CIE-LAB 19.559, 44.432, -61.25
XYZ 5.876, 2.881, 25.056
xyY 0.174, 0.085, 2.881
CIE-LCH 19.559, 75.669, 305.958
CIE-LUV 19.559, -2.207, -66.03
Hunter-Lab 16.972, 32.096, -75.648
Binary 00101000, 00010101, 10001100

Color Schemes with #28158c

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

Alternatives to #28158c

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

Similar Colors

#28158c Preview

Text with hexadecimal color #28158c

This text has a font color of #28158c.

<span style="color:#28158c;">Text here</span>
#28158c background color

This paragraph has a background color of #28158c.

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

This element has a border color of #28158c.

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

Shades and Tints of #28158c

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

Shade Color Variation
Tint Color Variation

Tones of #28158c

A tone is produced by adding gray to any pure hue. In this case, #4e4d54 is the less saturated color, while #1b029f is the most saturated one.

Tone Color Variation

Color Blindness Simulator

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

Monochromacy
  • #282828 Achromatopsia 0.005% of the population
  • #28243c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00386d Protanopia 1% of men
  • #003b5e Deuteranopia 1% of men
  • #003f43 Tritanopia 0.001% of the population
Trichromacy
  • #0e2b78 Protanomaly 1% of men, 0.01% of women
  • #0e2d6f Deuteranomaly 6% of men, 0.4% of women
  • #0e305d Tritanomaly 0.01% of the population