Html Css Color HEX #1F278B Midnight Blue

📋 copy color: '#1F278B'

red 31 ◦ green 39 ◦ blue 139

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

Shades of Midnight Blue #1F278B

Tints of Midnight Blue #1F278B

RGB

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

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

 BLUE value IS 139 (54.69% from 255) = 66.51%

R = 14.83%
G = 18.66%
B = 66.51%

CMYK

 C value IS 0.78

 M value IS 0.72

 Y value IS 0

 K value IS 0.45

RGB Variations

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

Color information

#1F278B (or 0x1F278B) is known color: Midnight Blue. HEX triplet: 1F, 27 and 8B. RGB value is (31,39,139). Sum of RGB (Red+Green+Blue) = 31+39+139=209 (27% of max value = 765). Red value is 31 (12.5% from 255 or 14.83% from 209); Green value is 39 (15.62% from 255 or 18.66% from 209); Blue value is 139 (54.69% from 255 or 66.51% from 209); Max value from RGB is 139 - color contains mainly: blue. Hex color #1F278B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F278B is #E0D874. Grayscale: #2F2F2F. Windows color (decimal): -14735477 or 9119519. OLE color: 9119519.

HSL color Cylindrical-coordinate representation of color #1F278B: hue angle of 235.56º degrees, saturation: 0.64, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #1F278B is Cyan = 0.78, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.45.

Color convert

RGB 31 39 139 -
CMYK 0.78 0.72 0 0.45
HSL 235.56º 0.64% 0.33% -
HSV(B) 235.56º 0.78% 0.55% -
XYZ 5.95 3.61 24.81 -
YUV 48.01 179.35 115.87 -
System Red Green Blue C M Y K H S L
Decimal 31 39 139 0.78 0.72 0 0.45 235.56 0.64 0.33
Hex 1F 27 8B 4E 48 0 2D EC 40 21
Octal 37 47 213 116 110 0 55 354 100 41
Binary 11111 100111 10001011 1001110 1001000 0 101101 11101100 1000000 100001

Color Harmonies of #1F278B

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #1F278B

Black with #1F278B

Text Example


Text Example

White with #1F278B

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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