#28118b Color Information

In a RGB color space, hex #28118b is composed of 15.7% red, 6.7% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 71.2% cyan, 87.8% magenta, 0% yellow and 45.5% black. It has a hue angle of 251.3 degrees, a saturation of 78.2% and a lightness of 30.6%. #28118b color hex could be obtained by blending #5022ff with #000017. 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

#28118b color description : Dark blue.

#28118b Color Conversion

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

Hex triplet 28118b #28118b
RGB Decimal 40, 17, 139 rgb(40,17,139)
RGB Percent 15.7, 6.7, 54.5 rgb(15.7%,6.7%,54.5%)
CMYK 71, 88, 0, 45
HSL 251.3°, 78.2, 30.6 hsl(251.3,78.2%,30.6%)
HSV (or HSB) 251.3°, 87.8, 54.5
Web Safe 330099 #330099
CIE-LAB 18.868, 45.817, -61.772
XYZ 5.735, 2.716, 24.647
xyY 0.173, 0.082, 2.716
CIE-LCH 18.868, 76.908, 306.565
CIE-LUV 18.868, -1.799, -65.085
Hunter-Lab 16.48, 33.277, -77.137
Binary 00101000, 00010001, 10001011

Color Schemes with #28118b

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

Alternatives to #28118b

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

Similar Colors

#28118b Preview

Text with hexadecimal color #28118b

This text has a font color of #28118b.

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

This paragraph has a background color of #28118b.

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

This element has a border color of #28118b.

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

Shades and Tints of #28118b

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

Shade Color Variation
Tint Color Variation

Tones of #28118b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #28118b 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
  • #003a5c Deuteranopia 1% of men
  • #003e41 Tritanopia 0.001% of the population
Trichromacy
  • #0e2976 Protanomaly 1% of men, 0.01% of women
  • #0e2b6d Deuteranomaly 6% of men, 0.4% of women
  • #0e2d5c Tritanomaly 0.01% of the population