Html Css Color HEX #402F8B Dark Slate Blue

📋 copy color: '#402F8B'

red 64 ◦ green 47 ◦ blue 139

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

Shades of Dark Slate Blue #402F8B

Tints of Dark Slate Blue #402F8B

RGB

 RED value IS 64 (25.39% from 255) = 25.6%

 GREEN value IS 47 (18.75% from 255) = 18.8%

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

R = 25.6%
G = 18.8%
B = 55.6%

CMYK

 C value IS 0.54

 M value IS 0.66

 Y value IS 0

 K value IS 0.45

RGB Variations

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

Color information

#402F8B (or 0x402F8B) is known color: Dark Slate Blue. HEX triplet: 40, 2F and 8B. RGB value is (64,47,139). Sum of RGB (Red+Green+Blue) = 64+47+139=250 (33% of max value = 765). Red value is 64 (25.39% from 255 or 25.6% from 250); Green value is 47 (18.75% from 255 or 18.8% from 250); Blue value is 139 (54.69% from 255 or 55.6% from 250); Max value from RGB is 139 - color contains mainly: blue. Hex color #402F8B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #402F8B is #BFD074. Grayscale: #3E3E3E. Windows color (decimal): -12570741 or 9121600. OLE color: 9121600.

HSL color Cylindrical-coordinate representation of color #402F8B: hue angle of 251.09º degrees, saturation: 0.49, lightness: 0.36%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.66%. Process color model (Four color, CMYK) of #402F8B is Cyan = 0.54, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.45.

Color convert

RGB 64 47 139 -
CMYK 0.54 0.66 0 0.45
HSL 251.09º 0.49% 0.36% -
HSV(B) 251.09º 0.66% 0.55% -
XYZ 7.79 4.99 24.98 -
YUV 62.57 171.13 129.02 -
System Red Green Blue C M Y K H S L
Decimal 64 47 139 0.54 0.66 0 0.45 251.09 0.49 0.36
Hex 40 2F 8B 36 42 0 2D FB 31 24
Octal 100 57 213 66 102 0 55 373 61 44
Binary 1000000 101111 10001011 110110 1000010 0 101101 11111011 110001 100100

Color Harmonies of #402F8B

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #402F8B

Black with #402F8B

Text Example


Text Example

White with #402F8B

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #402F8B; }

 p { color: rgb(64,47,139); }

 H1.HeaderClassName
 {
   color: #402F8B;
 }
 .AnyTagClassName
 {
   color: #402F8B;
 }
</style>

background-color css

<style>
 a { background-color: #402F8B; }

 a { background-color: rgb(64,47,139); }

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

border-color css

<style>
 span { border-color: #402F8B; }

 span { border-color: rgb(64,47,139); }

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