Html Css Color HEX #1F287F Midnight Blue

📋 copy color: '#1F287F'

red 31 ◦ green 40 ◦ blue 127

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

Shades of Midnight Blue #1F287F

Tints of Midnight Blue #1F287F

RGB

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

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

 BLUE value IS 127 (50% from 255) = 64.14%

R = 15.66%
G = 20.2%
B = 64.14%

CMYK

 C value IS 0.76

 M value IS 0.69

 Y value IS 0

 K value IS 0.50

RGB Variations

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

Color information

#1F287F (or 0x1F287F) is known color: Midnight Blue. HEX triplet: 1F, 28 and 7F. RGB value is (31,40,127). Sum of RGB (Red+Green+Blue) = 31+40+127=198 (26% of max value = 765). Red value is 31 (12.5% from 255 or 15.66% from 198); Green value is 40 (16.02% from 255 or 20.20% from 198); Blue value is 127 (50% from 255 or 64.14% from 198); Max value from RGB is 127 - color contains mainly: blue. Hex color #1F287F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F287F is #E0D780. Grayscale: #2E2E2E. Windows color (decimal): -14735233 or 8333343. OLE color: 8333343.

HSL color Cylindrical-coordinate representation of color #1F287F: hue angle of 234.38º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1F287F is Cyan = 0.76, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.50.

Color convert

RGB 31 40 127 -
CMYK 0.76 0.69 0 0.50
HSL 234.38º 0.61% 0.31% -
HSV(B) 234.38º 0.76% 0.5% -
XYZ 5.15 3.34 20.45 -
YUV 47.23 173.02 116.43 -
System Red Green Blue C M Y K H S L
Decimal 31 40 127 0.76 0.69 0 0.50 234.38 0.61 0.31
Hex 1F 28 7F 4C 45 0 32 EA 3D 1F
Octal 37 50 177 114 105 0 62 352 75 37
Binary 11111 101000 1111111 1001100 1000101 0 110010 11101010 111101 11111

Color Harmonies of #1F287F

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F287F

Black with #1F287F

Text Example


Text Example

White with #1F287F

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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