COLOR #1531C5

HEX: #1531C5
RGB: (21,49,197)

Color info

#1531C5 contains mainly blue color. Web safe color of #1531C5 is #0033CC (or #03C).

RGB color model

#1531C5 color RGB value is (21,49,197).

  • red value is 21;
  • green value is 49;
  • blue value is 197.
RGB:
(21,49,197)
(8%,19%,77%)

RGB channels and saturation

R 21 of 255 = 8%
G 49 of 255 = 19%
B 197 of 255 = 77%

21
49
197

R + G + B ~ 35%. #1531C5 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 49 + 197 = 267 (100%)
R 21 of 267 ~ 7.87%
G 49 of 267 ~ 18.35%
B 197 of 267 ~ 73.78%

%18.35
%73.78

CMYK color model

#1531C5 color CMYK value is (89,75,0,23).

  • cyan value is 89.34%
  • magenta value is 75.13%
  • yellow value is 0.00%
  • key color value is 22.75%
CMYK:
(89,75,0,23)
C89M75Y0K23 
(89%,75%,0%,23%)
(0.89/0.75/0.00/0.23)	

CMYK percentages

%89.34
%75.13
%0
%22.75

Codes

Color #1531C5 in popluar color models

1531C5
RGB2149197
HSL230°80.73%42.75%
HSB/HSV230°89.34%77.25%
CMYK89.34%75.13%0.00%
22.75%

Color #1531C5 in popluar number systems.

HEX1531C5
Decimal2149197
Binary1010111000111000101
Octal2561305

Shades and tints

Shades of #1531C5

#1531C5
(21,49,197)
#142DB4
(20,45,180)
#1329A3
(19,41,163)
#122592
(18,37,146)
#112181
(17,33,129)
#101D70
(16,29,112)
#0F195F
(15,25,95)
#0E154E
(14,21,78)
#0D113D
(13,17,61)
#0C0D2C
(12,13,44)
#0B091B
(11,9,27)
#000000
(0,0,0)

Tints of #1531C5

#1531C5
(21,49,197)
#2A43CA
(42,67,202)
#3F55CF
(63,85,207)
#5467D4
(84,103,212)
#6979D9
(105,121,217)
#7E8BDE
(126,139,222)
#939DE3
(147,157,227)
#A8AFE8
(168,175,232)
#BDC1ED
(189,193,237)
#D2D3F2
(210,211,242)
#E7E5F7
(231,229,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1531C5 color. Also use rgb(21,49,197) instead hex code.

Text Font Color

.myTextColor { color: #1531C5; }

<p style="color:#1531C5">This sample text font color is #1531C5.</p>

This text font color is #1531C5.


Background Color

.myBgColor { background-color: #1531C5; }

<div style="background-color:#1531C5">Inner text</div>

This div background color is #1531C5.


Border color

.myBorderColor { border: 1px solid #1531C5; }

<div style="border:3px solid #1531C5">Div</div>

This div border color is #1531C5.


Opacity

.myOpacity80 { color: #1531C5; opacity: 0.8; }

<p style="color:#1531C5;opacity:0.8;">80%</p>

Text with #1531C5 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #1531C5;}

<p style="text-shadow: 3px 3px 1px #1531C5">Text here.</p>

This text has shadow with #1531C5 color.

.textShadow {text-shadow: 3px 3px 1px #1531C5, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #1531C5, 5px 5px 20px red">Text here.</p>

This text has shadow with #1531C5 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#1531C5, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#1531C5, Direction=45, Strength=4)">Text</p>

This text has shadow with #1531C5 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #1531C5;
  -webkit-box-shadow:	1px 1px 3px 2px #1531C5;
  box-shadow:		1px 1px 3px 2px #1531C5;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #1531C5;
-webkit-box-shadow: 1px 1px 3px 2px #1531C5;
box-shadow:1px 1px 3px 2px #1531C5;">
Div content here</div>
This div box has shadow with color #1531C5.

Preview

Color preview on black background

This text has color #1531C5 on black background.


Color preview on white background

This text has color #1531C5 on white background.



Black color preview on #1531C5 background

This text has black color on #1531C5 background.


White color preview on #1531C5 background

This text has white color on #1531C5 background.