#28118c Color Information

In a RGB color space, hex #28118c is composed of 15.7% red, 6.7% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 71.4% cyan, 87.9% magenta, 0% yellow and 45.1% black. It has a hue angle of 251.2 degrees, a saturation of 78.3% and a lightness of 30.8%. #28118c color hex could be obtained by blending #5022ff with #000019. Closest websafe color is: #330099.

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

#28118c color description : Dark blue.

#28118c Color Conversion

The hexadecimal color #28118c has RGB values of R:40, G:17, B:140 and CMYK values of C:0.71, M:0.88, Y:0, K:0.45. Its decimal value is 2625932.

Hex triplet 28118c #28118c
RGB Decimal 40, 17, 140 rgb(40,17,140)
RGB Percent 15.7, 6.7, 54.9 rgb(15.7%,6.7%,54.9%)
CMYK 71, 88, 0, 45
HSL 251.2°, 78.3, 30.8 hsl(251.2,78.3%,30.8%)
HSV (or HSB) 251.2°, 87.9, 54.9
Web Safe 330099 #330099
CIE-LAB 18.993, 46.11, -62.19
XYZ 5.808, 2.745, 25.033
xyY 0.173, 0.082, 2.745
CIE-LCH 18.993, 77.419, 306.555
CIE-LUV 18.993, -1.862, -65.669
Hunter-Lab 16.569, 33.579, -77.983
Binary 00101000, 00010001, 10001100

Color Schemes with #28118c

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

Alternatives to #28118c

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

Similar Colors

#28118c Preview

Text with hexadecimal color #28118c

This text has a font color of #28118c.

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

This paragraph has a background color of #28118c.

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

This element has a border color of #28118c.

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

Shades and Tints of #28118c

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

Shade Color Variation
Tint Color Variation

Tones of #28118c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #28118c 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
  • #262626 Achromatopsia 0.005% of the population
  • #26223a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00376b Protanopia 1% of men
  • #003a5d Deuteranopia 1% of men
  • #003e41 Tritanopia 0.001% of the population
Trichromacy
  • #0e2977 Protanomaly 1% of men, 0.01% of women
  • #0e2b6e Deuteranomaly 6% of men, 0.4% of women
  • #0e2e5c Tritanomaly 0.01% of the population