Html Css Color HEX #1F2787 Midnight Blue

📋 copy color: '#1F2787'

red 31 ◦ green 39 ◦ blue 135

#1F2787
Download Color Icon.PNG:
16x16 32x32 64x64 128x128 256x256

Shades of Midnight Blue #1F2787

Tints of Midnight Blue #1F2787

RGB

 RED value IS 31 (12.5% from 255) = 15.12%

 GREEN value IS 39 (15.63% from 255) = 19.02%

 BLUE value IS 135 (53.13% from 255) = 65.85%

R = 15.12%
G = 19.02%
B = 65.85%

CMYK

 C value IS 0.77

 M value IS 0.71

 Y value IS 0

 K value IS 0.47

RGB Variations

RGB:
RBG:
GRB:
GBR:
BRG:
BGR:

Color information

#1F2787 (or 0x1F2787) is known color: Midnight Blue. HEX triplet: 1F, 27 and 87. RGB value is (31,39,135). Sum of RGB (Red+Green+Blue) = 31+39+135=205 (27% of max value = 765). Red value is 31 (12.5% from 255 or 15.12% from 205); Green value is 39 (15.62% from 255 or 19.02% from 205); Blue value is 135 (53.12% from 255 or 65.85% from 205); Max value from RGB is 135 - color contains mainly: blue. Hex color #1F2787 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F2787 is #E0D878. Grayscale: #2F2F2F. Windows color (decimal): -14735481 or 8857375. OLE color: 8857375.

HSL color Cylindrical-coordinate representation of color #1F2787: hue angle of 235.38º degrees, saturation: 0.63, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.53% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #1F2787 is Cyan = 0.77, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.47.

Color convert

RGB 31 39 135 -
CMYK 0.77 0.71 0 0.47
HSL 235.38º 0.63% 0.33% -
HSV(B) 235.38º 0.77% 0.53% -
XYZ 5.66 3.49 23.3 -
YUV 47.55 177.35 116.19 -
System Red Green Blue C M Y K H S L
Decimal 31 39 135 0.77 0.71 0 0.47 235.38 0.63 0.33
Hex 1F 27 87 4D 47 0 2F EB 3F 21
Octal 37 47 207 115 107 0 57 353 77 41
Binary 11111 100111 10000111 1001101 1000111 0 101111 11101011 111111 100001

Color Harmonies of #1F2787

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F2787

Black with #1F2787

Text Example


Text Example

White with #1F2787

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #1F2787; }

 p { color: rgb(31,39,135); }

 H1.HeaderClassName
 {
   color: #1F2787;
 }
 .AnyTagClassName
 {
   color: #1F2787;
 }
</style>

background-color css

<style>
 a { background-color: #1F2787; }

 a { background-color: rgb(31,39,135); }

 div.DivClassName
 {
   background-color: #1F2787;
 }
 .BgClassName
 {
   background-color: #1F2787;
 }
</style>

border-color css

<style>
 span { border-color: #1F2787; }

 span { border-color: rgb(31,39,135); }

 td.TdClassName
 {
   border-color: #1F2787;
 }
 .TagClassName
 {
   border-color: #1F2787;
 }
</style>