Html Css Color HEX #1F2874 Midnight Blue

📋 copy color: '#1F2874'

red 31 ◦ green 40 ◦ blue 116

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

Shades of Midnight Blue #1F2874

Tints of Midnight Blue #1F2874

RGB

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

 GREEN value IS 40 (16.02% from 255) = 21.39%

 BLUE value IS 116 (45.7% from 255) = 62.03%

R = 16.58%
G = 21.39%
B = 62.03%

CMYK

 C value IS 0.73

 M value IS 0.66

 Y value IS 0

 K value IS 0.55

RGB Variations

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

Color information

#1F2874 (or 0x1F2874) is known color: Midnight Blue. HEX triplet: 1F, 28 and 74. RGB value is (31,40,116). Sum of RGB (Red+Green+Blue) = 31+40+116=187 (24% of max value = 765). Red value is 31 (12.5% from 255 or 16.58% from 187); Green value is 40 (16.02% from 255 or 21.39% from 187); Blue value is 116 (45.70% from 255 or 62.03% from 187); Max value from RGB is 116 - color contains mainly: blue. Hex color #1F2874 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2874 is #E0D78B. Grayscale: #2D2D2D. Windows color (decimal): -14735244 or 7612447. OLE color: 7612447.

HSL color Cylindrical-coordinate representation of color #1F2874: hue angle of 233.65º degrees, saturation: 0.58, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #1F2874 is Cyan = 0.73, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.55.

Color convert

RGB 31 40 116 -
CMYK 0.73 0.66 0 0.55
HSL 233.65º 0.58% 0.29% -
HSV(B) 233.65º 0.73% 0.45% -
XYZ 4.48 3.07 16.88 -
YUV 45.97 167.52 117.32 -
System Red Green Blue C M Y K H S L
Decimal 31 40 116 0.73 0.66 0 0.55 233.65 0.58 0.29
Hex 1F 28 74 49 42 0 37 EA 3A 1D
Octal 37 50 164 111 102 0 67 352 72 35
Binary 11111 101000 1110100 1001001 1000010 0 110111 11101010 111010 11101

Color Harmonies of #1F2874

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F2874

Black with #1F2874

Text Example


Text Example

White with #1F2874

Text Example


Text Example

HTML Codes & Css Web design

color css

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

 p { color: rgb(31,40,116); }

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

background-color css

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

 a { background-color: rgb(31,40,116); }

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

border-color css

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

 span { border-color: rgb(31,40,116); }

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